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://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.7.0/lodash.js"></script>
var users = _.map(_.range(100), function(i) {
return { user: 'test', age: i };
});
var others = [
{ user: 'test', age: 1 },
{ user: 'test', age: 22 },
{ user: 'test', age: 55 },
{ user: 'test', age: 77 },
{ user: 'test', age: 88 }
];
var result = [];
result = [];
Ready to run.
Test | Ops/sec | |
---|---|---|
original |
| ready |
solution 1 |
| ready |
solution 2 |
| ready |
solution 3 |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.