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
different methods for grouping string in an array and getting the max value of the grouping.
<script src="http://alasql.org/console/alasql.min.js"></script>
<script>
var arr = [];
var day, month, year;
for (var i = 0; i < 30000; i++) {
day = Math.round(Math.random() * 30);
month = Math.round(Math.random() * 12);
year = Math.round(Math.random() * 3 + 2009);
arr.push(month + "/" + day + "/" + year);
}
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
nightcracker |
| ready |
Mike Samuel |
| ready |
Mike Samuel edited |
| ready |
Alasql |
| ready |
Alasql (without array conversion) |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.