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 users = [{ id: 1, comments: ['comment0',
'comment1',
'comment2',
'comment3',
'comment4',
'comment5',
'comment6',
'comment7',
'comment8',
'comment9',
'comment10',
'comment11',
'comment12',
'comment13',
'comment14',
'comment15',
'comment16',
'comment17',
'comment18',
'comment19',
'comment20',
'comment21',
'comment22',
'comment23',
'comment24',
'comment25',
'comment26',
'comment27',
'comment28',
'comment29',
'comment30',
'comment31',
'comment32',
'comment33',
'comment34',
'comment35',
'comment36',
'comment37',
'comment38',
'comment39',
'comment40',
'comment41',
'comment42',
'comment43',
'comment44',
'comment45']}, { id: 2, comments: ['comment0',
'comment1',
'comment2',
'comment3',
'comment4',
'comment5',
'comment6',
'comment7',
'comment8',
'comment9',
'comment10',
'comment11',
'comment12',
'comment13',
'comment14',
'comment15',
'comment16',
'comment17',
'comment18',
'comment19',
'comment20',
'comment21',
'comment22',
'comment23',
'comment24',
'comment25',
'comment26',
'comment27',
'comment28',
'comment29',
'comment30',
'comment31',
'comment32',
'comment33',
'comment34',
'comment35',
'comment36',
'comment37',
'comment38',
'comment39',
'comment40',
'comment41',
'comment42',
'comment43',
'comment44',
'comment45']}]
Ready to run.
Test | Ops/sec | |
---|---|---|
forEach |
| ready |
reduce |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.