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
Comparison of performance between jQuery versions
Replaced jQuery 1.8.3 with jQuery 1.8.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>
<input name="myName" id="myName" class="myName" type="text" />
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script> var $jq152 = jQuery.noConflict( true ); </script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script> var $jq182 = jQuery.noConflict( true ); </script>
Ready to run.
Test | Ops/sec | |
---|---|---|
id 1.8.2 |
| ready |
id 1.5.2 |
| ready |
class 1.8.2 |
| ready |
class 1.5.2 |
| ready |
descendent tag - class 1.8.2 |
| ready |
descendent tag - class 1.5.2 |
| ready |
unquoted attr check 1.8.2 |
| ready |
unquoted attr check 1.5.2 |
| ready |
generic descendant 1.8.2 |
| ready |
generic descendant 1.5.2 |
| ready |
name 1.8.2 |
| ready |
name 1.5.2 |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.