jquery selector bullshit (v4)

Revision 4 of this benchmark created on


Preparation HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<img class="foo"  src=""/>
<img class="foo"  src=""/><img class="foo"  src=""/><img class="foo"  src=""/><img class="foo"  src=""/><img class="foo"  src=""/>

Test runner

Ready to run.

Testing in
TestOps/sec
tag and id
jQuery('img.foo');
ready
just id
jQuery('.foo');
ready

Revisions

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