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 1639
<script src="//rawgithub.com/jashkenas/underscore/e583e59d7d51b7a0ace4f6fadafbc5ec6f1aead4/underscore.js"></script>
<script src="//rawgit.com/megawac/underscore/_.pick-opt/underscore.js"></script>
<script>
var underscore = _.noConflict();
</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 | |
---|---|---|
Omit with argument keys |
| ready |
New Omit with argument keys |
| ready |
Pick with predicate |
| ready |
New pick with predicate |
| ready |
Omit with predicate |
| ready |
New omit with predicate |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.