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="//underscorejs.org/underscore-min.js"></script>
<script src="//knockoutjs.com/downloads/knockout-3.2.0.js"></script>
var list = [];
for (var l = 0; l < 100; l++) {
list[l] = {
id: l,
code: l.toString(),
text: "Item #" + l
};
}
var onLoop = function onLoop(item) {
return item.id > 20 || item.id < 50;
};
Ready to run.
Test | Ops/sec | |
---|---|---|
KO arrayFilter |
| ready |
_ filter |
| ready |
KO arrayForEach |
| ready |
_ each |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.