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="//code.jquery.com/jquery-git2.min.js"></script>
<script src="//fastjs.net/js/fast.min.js"></script>
<input id="foo" type="hidden">
var value = Math.random()*2000|0;
var $_el = $('#foo');
var f_el = f('#foo');
value = Math.random()*2000|0;
Ready to run.
Test | Ops/sec | |
---|---|---|
jQ .val set |
| ready |
jQ[0].value set |
| ready |
jQ.attr set |
| ready |
jQ.prop set |
| ready |
FastJS.attr set |
| ready |
jQ .val get |
| ready |
jQ[0].value get |
| ready |
jQ.attr get |
| ready |
jQ.prop get |
| ready |
FastJS.val get |
| ready |
FastJS.attr get |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.