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="test">
<div class="testlink">
<a href="#" id="linkone" title="test">test link</a>
</div>
<div class="testmenu">
<ul>
<li class="menuitem itemone">
<a href="#" title="item 1">menu item 1</a>
</li>
<li class="menuitem itemtwo">
<a href="#" title="item 2">menu item 2</a>
</li>
<li class="menuitem itemthree">
not clickable item 3
</li>
</ul>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"></script>
<script> var $jq163 = jQuery.noConflict( true ); </script>
<script src="https://code.jquery.com/jquery-1.7.2.min.js"></script>
<script> var $jq171 = jQuery.noConflict( true ); </script>
Ready to run.
Test | Ops/sec | |
---|---|---|
1.6.3 by id |
| ready |
1.7.2 by id |
| ready |
1.6.3 by class |
| ready |
1.7.2 by class |
| ready |
1.6.3 descendent tag - class |
| ready |
1.7.2descendent tag - class |
| ready |
1.6.3 by attr |
| ready |
1.7.2 by attr |
| ready |
1.6.3 with regex |
| ready |
1.7.2 with regex |
| ready |
1.6.3 nth-child(even) |
| ready |
1.7.2 nth-child(even) |
| ready |
1.6.3 li:last-child |
| ready |
1.7.2 li:last-child |
| ready |
1.6.3 unquoted attr with simpler regex |
| ready |
1.7.2 unquoted attr with simpler regex |
| ready |
1.6.3 unquoted attr check |
| ready |
1.7.2 unquoted attr check |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.