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.6.4/jquery.min.js">
</script>
<div id="a">
<div>
<div>
<div>
<div class="barBaz" data-bar="Baz">
</div>
<div class="foo barBaz" data-foo="blah" data-bar="Baz">
</div>
<div class="foo barBaz bip" data-foo="blah" data-bar="Baz" data-bip="blah">
</div>
<div class="foo bip bop" data-foo="blah" data-bip="blah" data-bop="blah">
</div>
<div>
</div>
</div>
</div>
</div>
Ready to run.
Test | Ops/sec | |
---|---|---|
Class attr |
| ready |
Data attr |
| ready |
Class attr (no ID) |
| ready |
Data attr (no ID) |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.