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
Speed test for getting all elements on the page
<div class="test1"></div>
<div class="test2"></div>
<div class="test3"></div>
<div class="test4"></div>
<div class="test5"></div>
<div class="test6"></div>
<div class="test7"></div>
<div class="test8"></div>
<div class="test9">
<div class="test10"></div>
<div class="test11"></div>
<div class="test12"></div>
<div class="test13"></div>
<div class="test14"></div>
<div class="test15"></div>
<div class="test16"></div>
</div>Ready to run.
| Test | Ops/sec | |
|---|---|---|
| document.all | | ready |
| document.getElementsByTagName | | ready |
| combine | | ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.