Test loop

Benchmark created by Enrico on


Description

First sample test

Preparation HTML

<div id="Div1">
  <div class="Div2">
    Test
  </div>
</div>
<script>
  < script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" > < /script>
</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.