jQuery selectors speed test (v13)

Revision 13 of this benchmark created on


Description

jQuery selectors speed test $ over .find

Preparation HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<div id='test'>
<div id='test2'></div>
<div id='test3'></div>
<div id='test4'></div>
</div>

Test runner

Ready to run.

Testing in
TestOps/sec
click
$("#test").is('#test2')
ready
on
$('#test2')
ready
on document
$("#test").find('#test2')
ready

Revisions

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