Test loop (v2)

Revision 2 of this benchmark created on


Description

First sample test

Preparation HTML

<div id="Div1" style="width: 100px; overflow: hidden;">
  <div class="Div2">
    Test
  </div>
</div>
  <script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
Loop with concatenated selector
$("#Div1 .Div2").append("Something");
ready
Loop with find
$("#Div1").find(".Div2").append("Something");
ready

Revisions

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