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
Testing which method is faster children() or find() on given DOM structure
<div class="row">
<label class="required" for="Company_ac1">
Assigned categories 1
<span class="required">
*
</span>
</label>
<input type="hidden" name="Company[ac1]" value="" id="ytCompany_ac1">
<span id="Company_ac1">
<input type="checkbox" name="Company[ac1][]" value="0" id="Company_ac1_0">
<label for="Company_ac1_0">
Prva kategorija X
</label>
<br>
<input type="checkbox" name="Company[ac1][]" value="2" id="Company_ac1_1">
<label for="Company_ac1_1">
Druga kategorija
</label>
<br>
<input type="checkbox" name="Company[ac1][]" value="3" id="Company_ac1_2">
<label for="Company_ac1_2">
Treca kategorija
</label>
<br>
<input type="checkbox" name="Company[ac1][]" value="4" id="Company_ac1_3">
<label for="Company_ac1_3">
Cetvrta kategorija
</label>
</span>
<div style="display:none" id="Company_ac1_em_" class="errorMessage">
</div>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
children() |
| ready |
find() |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.