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
var elements_arr = ['title','description','action_button'],
attrs_arr = ['font-size'],
style = {
title: { 'real-font-size': '32px' },
description: { 'real-font-size': '32px' },
action_button: { 'real-font-size': '32px' },
},
percentageDifference = 0.4;
Ready to run.
Test | Ops/sec | |
---|---|---|
Duble forEach uncached arrays |
| ready |
Duble forEach cached arrays |
| ready |
Outer for uncached length |
| ready |
Outer for cached length |
| ready |
Both for cached length |
| ready |
Both for uncached length |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.