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="container"></div>
<script>
var $img1 = $('<img/>').attr('src', 'http://www.websharedesign.com/images/icon-testing.gif'),
$img2 = $('<img/>').attr('src', 'http://www.hepcscotland.co.uk/images/testing.gif');
$img1.appendTo('#container');
var dimg = $img1.get();
var cont = $('#container');
</script>
var s = true;
Ready to run.
Test | Ops/sec | |
---|---|---|
DOM Manipulation |
| ready |
Attribute manipulation |
| ready |
Direct Attribute Manipulation |
| ready |
jQuery Direct Attribute Manipulation |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.