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 arr1 = [{a:1, b:'abc', c: false}, {a:2, b:'bcd', c: true}, {a:4.7, b:'klz', c: true}, {a:3, b:'xyz', c: false}]
const arr2 = [{a:1, b:'abc', c: false}, {a:2, b:'bcd', c: true}, {a:4.7, b:'klz', c: true}, {a:3, b:'xyz', c: false}]
function datumCompare(dat1, dat2) {
return dat1.a === dat2.a && dat1.b === dat2.b && dat1.c === dat2.c
}
Ready to run.
Test | Ops/sec | |
---|---|---|
Iteration |
| ready |
Map |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.