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="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<div id="myDiv" style="border:1px solid black;width:10px;height:10px;padding:10px;">Wow</div>
var myDiv = document.getElementById('myDiv');
var $myDiv = $(myDiv);
$myDiv.css("display", "block");
Ready to run.
Test | Ops/sec | |
---|---|---|
.css("display", "none") |
| ready |
hide() |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.