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
let obj1 = {
assert: (i) => {if( ! Number.isInteger(i)) throw new Error('nok')}
};
let obj2 = {
assert: (_i) => {}
};
let obj3 = {
assert: () => {}
};
let obj4 = {
assert: null
}
Ready to run.
Test | Ops/sec | |
---|---|---|
test |
| ready |
empty assert |
| ready |
no functions |
| ready |
Empty assert2 |
| ready |
test null |
| ready |
empty assert null |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.