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
Tests for pr 2065
<script src="https://rawgithub.com/jashkenas/underscore/1.8.1/underscore.js"></script>
<script src="https://rawgithub.com/jashkenas/underscore/b47c21a68d8a2a8d2842512d7841c92a73dc6735/underscore.js"></script>
<script src="https://rawgithub.com/jridgewell/underscore/81d8d81/underscore.js"></script>
<script>
var opt = _.noConflict();
var refined = _.noConflict();
var _181 = _;
</script>
var data = _.reduce(_.range(26), function(o, v) {
o[String.fromCharCode(v + 97)] = v;
return o;
}, {});
var callback = function(value, key, object) {
return value % 2 === 0;
};
Ready to run.
Test | Ops/sec | |
---|---|---|
Pick (1.8.1, arguments) |
| ready |
Pick (refined, arguments) |
| ready |
Omit (1.8.1, arguments) |
| ready |
Omit (refined, arguments) |
| ready |
Pick (1.8.1, predicate) |
| ready |
Pick (refined, predicate) |
| ready |
Omit (1.8.1, predicate) |
| ready |
Omit (refined, predicate) |
| ready |
Pick (opt, arguments) |
| ready |
Pick (opt, predicate) |
| ready |
Omit (opt, arguments) |
| ready |
Omit (opt, predicate) |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.