Comma-separated-selectors

Benchmark created by John Norris on


Preparation HTML

<div class="ContactArea"></div>
<div class="Portfolio"></div>
<div class="WebDesign"></div>
<div class="AboutCoadin"></div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
Independent hide
$('.ContactArea').hide();
$('.Portfolio').hide();
$('.WebDesign').hide();
$('.AboutCoadin').hide();
ready
Comma-separated hide
$(".ContactArea, .Portfolio, .WebDesign, .AboutCoadin").hide();
ready

Revisions

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

  • Revision 1: published by John Norris on