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 initialValues = [
{code: "yo",value: 5},
{code: "yo1",value: undefined},
{code: "yo2",value: 5},
{code: "yo3",value: 5},
{code: "yo4",value: undefined},
{code: "yo5",value: 5},
{code: "yo6",value: 5},
{code: "yo7",value: 5},
{code: "yo8",value: 5},
{code: "yo9",value: 5},
{code: "yo10",value: undefined},
{code: "yo11",value: 5},
{code: "yo12",value: 5},
]
Ready to run.
Test | Ops/sec | |
---|---|---|
forEach/push |
| ready |
filter/map |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.