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="//cdn.rawgit.com/dtao/lazy.js/7a9b0210d97168ff48c5d2b4ce4d12194ba7fbec/lazy.js"></script>
<script src="//cdn.rawgit.com/Reactive-Extensions/IxJS/be10ea9fa620dc65b52d5e3a7722a387316e743d/dist/ix.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.7.0/underscore.js"></script>
<script src="//cdn.rawgit.com/lodash/lodash/55df525f1bd3c6407de96fb275503bd1109fd259/lodash.js"></script>
<script>var lodash = _.noConflict();</script>
var arr = _.range(10000),
limit = 100;
var odd = function(v) { return !!(v % 2); },
square = function(v) { return v * v; };
Ready to run.
Test | Ops/sec | |
---|---|---|
Native |
| ready |
Underscore |
| ready |
Ix |
| ready |
Lazy |
| ready |
Lo-Dash |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.