find v sizzle

Benchmark created on


Preparation HTML

<div id="tmp">
    <p>
        <img src="images/door.png">
    </p>
</div>
<script>
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
sizzle
var i = $('#tmp > p > img');
ready
no sizzle
var i = $(document.getElementById("tmp")).find('p > img');
ready

Revisions

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