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 class="control-group">
<div class="controls radio-other">
<label class="radio"><input type="radio" name="enq002" id="enq002" value="enq002-opt">Ja</label>
<label class="radio"><input type="radio" name="enq002" id="enq003" value="enq003-opt">Nee</label>
<label class="radio"><input type="radio" name="enq002" id="enq004" value="enq004-opt" data-linktype="toggle" data-target="#enq005"> Anders, namelijk...</label>
<input type="text" placeholder="Alternatief antwoord" id="enq005" class="hide other">
</div>
</div><script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
Ready to run.
Test | Ops/sec | |
---|---|---|
Parent().parent().find() |
| ready |
parents.find() |
| ready |
Parents('elemtent').find() |
| ready |
parentsUntil('emelemt').find() |
| ready |
parents('element').closest() |
| ready |
parentsUntil('element').closest() |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.