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/jquery.min.js">
</script>
<script src="https://raw.github.com/dameleon/tt.js/develop/tt.min.js">
</script>
<ul>
<li class="1">
</li>
<li class="2">
</li>
<li class="3">
</li>
<li class="4">
</li>
<li class="5">
</li>
<li class="6">
</li>
<li class="7">
</li>
<li class="8">
</li>
<li class="9">
</li>
<li class="10">
</li>
<li class="11">
</li>
<li class="12">
</li>
<li class="13">
</li>
<li class="14">
</li>
<li class="15">
</li>
<li class="16" id="submit">
</li>
</ul>
var jsId = document.getElementById("submit");
var $Id = $("#submit");
var ttId = $("#submit");
ttId.removeClass("class");
var jsTags = document.getElementsByTagName("li"), count = jsTags.length;
var $Tags = $("li");
var ttTags = $("li");
ttTags.removeClass("class");
Ready to run.
Test | Ops/sec | |
---|---|---|
jQuery (ID) |
| ready |
tt(ID) |
| ready |
JS (ID) |
| ready |
JS (ID) HTML5 |
| ready |
jQuery (tagName) |
| ready |
tt (tagName) |
| ready |
js (tagName) HTML5 |
| ready |
JS (ID) MF |
| ready |
JS (ID) obj |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.