jQuery Selector

Benchmark created by jQuery Selector on


Preparation HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<div>
<div class="a cc">A</div>
<div class="b cc">B</div>
<div class="c cc">C</div>
</div>

Test runner

Ready to run.

Testing in
TestOps/sec
Seperate function
$(function(){
 $('.a').show();
 $('.b').show();
 $('.c').show();
})
ready
Combine function
$('.a, .b, .c').show();
ready
Common selector
$('.cc').show();
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.

  • Revision 1: published by jQuery Selector on