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
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<div style="display:none;">
<div id="random"> </div>
<h1 id="wrong">A tag</h1>
<p class="wrong">Some text</p>
<ul>
<li id="select-1" class="select"> </li>
<li id="select-2" class="select"> </li>
<li id="select-3" class="select"> </li>
<li id="select-4" class="select"> </li>
<li id="select-5" class="select"> </li>
<div id="select-6" class="select"> </li>
<div id="select-7" class="select"> </li>
<div id="select-8" class="select"> </li>
<li id="select-9" class="select"> </li>
<li id="select-10" class="select"> </li>
</ul>
</div>
Ready to run.
Test | Ops/sec | |
---|---|---|
JQuery ID attribute starts with selector |
| ready |
JQuery ID attribute prefix selector |
| ready |
JQuery ID attribute starts with selector, with tag prefix |
| ready |
JQuery ID attribute prefix selector, with tag prefix |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.