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>
<div id="testrunner"></div>
var elm = window.document.getElementById('testrunner');
elm.innerHTML = '<table><tr><td height="4" width="5" style="background-color:red;"></td><td height="6" width="7" style="background-color:blue;"></td></tr></table>';
var checktestStart = elm.getElementsByTagName('td');
if (checktestStart.length !== 2) throw 'error';
var elm = window.document.getElementById('testrunner');
var checktestEnd = elm.getElementsByTagName('th');
if (checktestEnd.length !== 2) throw 'error';
elm.innerHTML = '';
Ready to run.
Test | Ops/sec | |
---|---|---|
jquery |
| ready |
DOM |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.