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
<script src="https://cdn.rawgit.com/lodash/lodash/3.0.0/lodash.js"></script>
var p = [
{value: 4}, {value: 21},
{value: 12}, {value: 3},
{value: 7}, {value: 9},
{value: 32}, {value: 0},
{value: 10}, {value: 32},
{value: 7}, {value: 9},
{value: 32}, {value: 0},
{value: 10}, {value: 32},
{value: 34}, {value: 20}
];
function lt10 (item) {
return item.value <= 10
}
Ready to run.
Test | Ops/sec | |
---|---|---|
regular |
| ready |
lazy |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.