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 arr = [];
for (let index = 0; index < 100; ++index) {
let arr2 = [];
for (let index2 = 0; index2 < 300; ++index2) {
arr2.push((Math.random() + 1).toString(36).substring(7));
}
arr.push(arr2);
}Ready to run.
| Test | Ops/sec | |
|---|---|---|
| concat.apply | | ready |
| flat | | ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.