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>
<a id="test1">test</a>
<a id="test2">test</a>
<a id="test3">test</a>
<a id="test4">test</a>
<a id="test5">test</a>
<a id="test6">test</a>
<script>
$(document.body).delegate("#test1", 'click', function() {
$(this).html('NEW HTML');
});
$(document.body).delegate("#test2", 'click', function() {
$(this).html('NEW HTML');
});
$(document.body).delegate("#test3", 'click', function() {
$(this).html('NEW HTML');
});
$(document.body).delegate("#test4", 'click', function() {
$(this).html('NEW HTML');
});
$(document.body).delegate("#test5", 'click', function() {
$(this).html('NEW HTML');
});
$(document.body).delegate("#test6", 'click', function() {
$(this).html('NEW HTML');
});
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
remove each |
| ready |
remove together |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.