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
// need to convert a 2D array to a 1D array // треба перетворити 2Д масив на 1Д масив // [[1, 2], [3, 4], [5, 6]] => [ 1, 2, 3, 4, 5, 6 ]
const nums = new Array(100).fill(0).map(() => new Array(100).fill(0));
Ready to run.
Test | Ops/sec | |
---|---|---|
bad1a |
| ready |
bad1b |
| ready |
bad1c |
| ready |
bad2a |
| ready |
bad2b |
| ready |
bad3 |
| ready |
good1a |
| ready |
good1b |
| ready |
good2a |
| ready |
good2b |
| ready |
good3a |
| ready |
good3b |
| ready |
good4a |
| ready |
good4b |
| ready |
good4c |
| ready |
good5 |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.