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
<div id="A" data-say1="ay" data-say2="ay" data-say3="ay" data-say4="ay" data-say5="ay" data-say6="ay" data-say7="ay" data-say8="ay" data-say9="ay"></div>
var element = document.getElementById('A'),
Ready to run.
Test | Ops/sec | |
---|---|---|
getAttribute |
| ready |
get dataset |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.