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="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script>
var theObject = {
a: 'Some value',
aa: 'Some value',
aaa: 'Some value',
aaaa: 'Some value',
aaaaa: 'Some value',
aaaaaa: 'Some value',
aaaaaaa: 'Some value',
aaaaaaaa: 'Some value',
ba: 'Some value',
bba: 'Some value',
bbba: 'Some value',
bbbba: 'Some value',
bbbbba: 'Some value',
bbbbbba: 'Some value',
bbbbbbba: 'Some value',
bbbbbbbba: 'Some value',
ca: 'Some value',
cca: 'Some value',
ccca: 'Some value',
cccca: 'Some value',
ccccca: 'Some value',
cccccca: 'Some value',
ccccccca: 'Some value',
cccccccca: 'Some value',
cccccccccca: 'Some value',
da: 'Some value',
dda: 'Some value',
ddda: 'Some value',
dddda: 'Some value',
ddddda: 'Some value',
dddddda: 'Some value',
ddddddda: 'Some value',
dddddddda: 'Some value',
ddddddddda: 'Some value',
dddddddddda: 'Some value',
ddddddddddda: 'Some value',
dddddddddddda: 'Some value',
ea: 'Some value',
eaa: 'Some value',
eaaa: 'Some value',
eaaaa: 'Some value',
eaaaaa: 'Some value',
eaaaaaa: 'Some value',
eaaaaaaa: 'Some value',
eaaaaaaaa: 'Some value',
eba: 'Some value',
ebba: 'Some value',
ebbba: 'Some value',
ebbbba: 'Some value',
ebbbbba: 'Some value',
ebbbbbba: 'Some value',
ebbbbbbba: 'Some value',
ebbbbbbbba: 'Some value',
eca: 'Some value',
ecca: 'Some value',
eccca: 'Some value',
ecccca: 'Some value',
eccccca: 'Some value',
ecccccca: 'Some value',
eccccccca: 'Some value',
ecccccccca: 'Some value',
ecccccccccca: 'Some value',
eda: 'Some value',
edda: 'Some value',
eddda: 'Some value',
edddda: 'Some value',
eddddda: 'Some value',
edddddda: 'Some value',
eddddddda: 'Some value',
edddddddda: 'Some value',
eddddddddda: 'Some value',
edddddddddda: 'Some value',
eddddddddddda: 'Some value',
edddddddddddda: 'Some value'
}
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
keep track of key |
| ready |
array.push |
| ready |
user length for index |
| ready |
use jQuery map |
| ready |
Syntext Change |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.