Which JS benchmark site is correct?

前端 未结 3 2006
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-04 15:14

I created a benchmark on both jsperf.com and jsben.ch, however, they\'re giving substantially different results.

JSPerf: https://jsperf.com/join-vs-template-venryx

3条回答
  •  滥情空心
    2021-01-04 15:56

    Sorry for a bump but might be interesting for others running into this in search results.

    I can't speak for others but jsbench.me just uses benchmark.js for testing. Its a single-page React app meaning it runs completely on your browser and your engine of choice, so results should be consistent within single browser. You can run it in Firefox or mobile and results will be different of course. But absolutely nothing related to testing is on the server, other than AWS DynamoDB to store results.

    P.S. I'm the author, so only passion project of individual. Currently doesnt cost me anything as its optimized for serverless and it fits AWS free tier. Anount of work on it is proportional to number of users :)

提交回复
热议问题