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
TEST CASE: loop over the arrays and for each item, find the next item wich is twice as big
const bigArray = new Array(10_000).map((_, i) => i);
const smallArray = new Array(10).map((_, i) => i);Ready to run.
| Test | Ops/sec | |
|---|---|---|
| Nested loops (BIG) | | ready |
| Nested loops (SMALL) | | ready |
| Map (BIG) | | ready |
| Map (SMALL) | | ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.