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.min.js"></script>
<b style="display:block;" id="byID" class="byClass"></b>
$('#byID').css({
'border': 'none',
'background': 'transparent',
'width': 'auto',
'height': 'auto'
}).text('');
Ready to run.
Test | Ops/sec | |
---|---|---|
not caching, ID selector |
| ready |
not caching, class selector |
| ready |
caching, ID selector |
| ready |
caching, class selector |
| ready |
chaining, ID selector |
| ready |
chaining, class selector |
| ready |
not caching, nodeName selector |
| ready |
caching, nodeName selector |
| ready |
chaining, nodeName selector |
| ready |
chaining, cached ID selector |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.