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
const items = [
{ id: 1, category: 'fruit', name: 'apple' },
{ id: 2, category: 'vegetable', name: 'carrot' },
{ id: 3, category: 'fruit', name: 'banana' },
{ id: 4, category: 'vegetable', name: 'lettuce' },
{ id: 5, category: 'fruit', name: 'pear' },
{ id: 6, category: 'grain', name: 'rice' },
];
Ready to run.
Test | Ops/sec | |
---|---|---|
GroupBy |
| ready |
For loop |
| ready |
Reduce |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.