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
Attemps to dilucidate which option is more suitable for fast DOM manipulation: jQuery string creation, jQuery DOM manipulation methods or Javascript's documentFragment use.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<ul id="test-list">
</ul>
<script>
var $list = $('#test-list');
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
jQuery string creation |
| ready |
jQuery DOM manipulation methods |
| ready |
Javascript's documentFragment |
| ready |
Javascript's document manipulation |
| ready |
jQuery DOM manipulation methods (fragment/DOM hybrid) |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.