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
const arr = [{a: 1, b: 2, c: 3, d: 0}, {a: 1, b: 2, c: 3, d: 1}, {a: 1, b: 2, c: 3, d: 2}, {a: 1, b: 2, c: 3, d: 3}, {a: 1, b: 2, c: 3, d: 4}, {a: 1, b: 2, c: 3, d: 5}, {a: 1, b: 2, c: 3, d: 6}, {a: 1, b: 2, c: 3, d: 7}, {a: 1, b: 2, c: 3, d: 8}, {a: 1, b: 2, c: 3, d: 9}, {a: 1, b: 2, c: 3, d: 10}]
Ready to run.
Test | Ops/sec | |
---|---|---|
constructor |
| ready |
for-loop |
| ready |
for-each |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.