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/2.2.1/lodash.min.js"></script>
<script>
lodash = window.lodash = _.noConflict();
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="http://caolan.github.io/nimble/nimble.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/async/0.2.7/async.min.js"></script>
<script src="http://jphpsf.github.io/setImmediate-shim-demo/setImmediate.js"></script>
<script>
var pi = Math.PI,
a = "t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t".split(","), e;
</script>
var callback = function() {
deferred.resolve();
};
Ready to run.
Test | Ops/sec | |
---|---|---|
jQuery.each |
| ready |
for-loop |
| ready |
Nimble - each |
| ready |
better for-loop |
| ready |
lodash _.each |
| ready |
Nimble _.each async |
| ready |
Async.js - each |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.