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>
<ul id="menu">
<li class="menu-item">
</li>
<li class="menu-item">
</li>
<li class="menu-item">
</li>
<li class="menu-item">
</li>
</ul>
<ul id="menu2">
</ul>
</div>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js">
</script>
<script>
var $jq132 = $.noConflict(true);
</script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js">
</script>
<script>
var $jq14 = $.noConflict(true);
</script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js">
</script>
<script>
var $jq16 = $.noConflict(true);
</script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js">
</script>
<script>
var $jq172 = $.noConflict(true);
</script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js">
</script>
<script>
var $jq183 = $.noConflict(true);
</script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
<script>
var $jq191 = $.noConflict(true);
</script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js">
</script>
<script>
var $jq1101 = $.noConflict(true);
</script>
<script type="text/javascript" src="//code.jquery.com/jquery-2.1.4.min.js">
</script>
<script>
var $jq214 = $.noConflict(true);
</script>
<script type="text/javascript" src="//code.jquery.com/jquery-2.1.1.min.js">
</script>
<script>
var $jq211 = $.noConflict(true);
</script>
function tests($) {
$('#menu').css({
'backgroud': 'red'
});
$('.menu-item').eq(2).hasClass('foo');
var newListItem = "<li>aaa</li>";
$( "#menu2" ).append( newListItem );
$( "#menu2" ).empty();
$('#menu').find('li.menu-item').click(function () {
//do smth
});
$('#menu').hide().show();
$('#menu > *');
$('#menu').children();
}
Ready to run.
Test | Ops/sec | |
---|---|---|
jQuery 1.3.2 |
| ready |
jQuery 1.4.x |
| ready |
jQuery 1.6.x |
| ready |
jQuery 1.8.3 |
| ready |
jQuery 1.9.1 |
| ready |
jQuery 1.10.1 |
| ready |
jQuery 2.1.1 |
| ready |
jQuery 2.1.4 |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.