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
<div id="container"></div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script>
var protoString = '<a class="programme" href="{{link}}" id="{{id}}"><span class="title">{{title}}</span><span class="description">{{description}}</span></a>';
var $proto = $('<a class="programme" href="" id=""><span class="title"></span><span class="description"></span></a>');
</script>
$('#container').empty();
Ready to run.
Test | Ops/sec | |
---|---|---|
Create from string |
| ready |
Create with jQuery each time |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.