jsPerf.app is an online JavaScript performance benchmark test runner & jsperf.com mirror. It is a complete rewrite in homage to the once excellent jsperf.com now with hopefully a more modern & maintainable codebase.
jsperf.com URLs are mirrored at the same path, e.g:
https://jsperf.com/negative-modulo/2
Can be accessed at:
https://jsperf.app/negative-modulo/2
var choices = [
[10, "apples"],
[20, "oranges"],
[70, "bananas"]
];
var pickInt32Array=(function(){var r=new Int32Array(2),o;return function pick(c){r[0]=Math.random()*100;for(r[1]=-1;(o=c[++r[1]])&&r[0]>=o[0];r[0]-=o[0]);if(o)return o[1]}})()
Ready to run.
Test | Ops/sec | |
---|---|---|
imma |
| ready |
imma in integer |
| ready |
Merri |
| ready |
Merri + safety |
| ready |
Merri + Int32Array |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.