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
for (var items = 9999,arr=[],obj={}, arr2=[], obj2={}, i=0, arr3=[]; i<items; ++i) {
arr.push(true);
obj[i]=true;
delete arr3[arr3.push(true)-1];
}
arr2[items-1] = true;
obj2[items-1] = true;
Ready to run.
Test | Ops/sec | |
---|---|---|
Array |
| ready |
Array empty |
| ready |
Object |
| ready |
Object empty |
| ready |
Array for-in |
| ready |
Array for-in undefined |
| ready |
Array removing |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.