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>
<div>
<div>
<div class="a">
<ul class="drop-menu">
<li class="expanded"><a href="#"><span>Expanded One</span></a>
<ul class="drop-sub-menu">
<li class="list-item-one"><label for="chkLabelOne"><input type="checkbox" id="chkBoxOne" class="inputValueOne" />Check Box One</label></li>
<li class="list-item-two"><label for="chkLabelTwo"><input type="checkbox" id="chkBoxTwo" class="inputValueTwo" />Check Box Two</label></li>
</ul>
</li>
</ul>
<ul class="drop-menu">
<li class="expanded"><a href="#"><span>Expanded Two</span></a>
<ul class="drop-sub-menu-two">
<li class="list-item-one"><label for="chkLabelOne"><input type="checkbox" id="Checkbox1" class="inputValueOne" />Check Box One</label></li>
<li class="list-item-two"><label for="chkLabelTwo"><input type="checkbox" id="Checkbox2" class="inputValueTwo" />Check Box Two</label></li>
</ul>
</li>
</ul>
<ul class="drop-menu">
<li class="expanded"><a href="#"><span>Expanded Three</span></a>
<ul class="drop-sub-menu-three">
<li class="list-item-three"><label for="chkLabelThree"><input type="checkbox" id="Checkbox4" class="inputValueThree" />Check Box Three</label></li>
<li class="list-item-three"><label for="chkLabelThree"><input type="checkbox" id="Checkbox7" class="inputValueThree" />Check Box Three</label></li>
<li class="list-item-three"><label for="chkLabelThree"><input type="checkbox" id="Checkbox8" class="inputValueThree" />Check Box Three</label></li>
<li class="list-item-three"><label for="chkLabelThree"><input type="checkbox" id="Checkbox9" class="inputValueThree" />Check Box Three</label></li>
</ul>
</li>
</ul>
<ul class="drop-menu">
<li class="expanded"><a href="#"><span>Expanded Four</span></a>
<ul class="drop-sub-menu-four">
<li class="list-item-four"><label for="chkLabelFour"><input type="checkbox" id="Checkbox6" class="inputValueFour" />Check Box Four</label></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script>
var tf;
var $parent = $('ul');
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
hasClass method |
| ready |
length |
| ready |
hasClass - check multiple tags based on 'has' method |
| ready |
hasClass - tag + class name variable |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.