selector test id/id id/id class (v29)

Revision 29 of this benchmark created on


Preparation HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>


<div id="Mytbl">
<div id="MyElement"></div>
<div class="MyClass"></div>
</div>

Test runner

Ready to run.

Testing in
TestOps/sec
Direct ID
$('#MyElement');


 
ready
Nested ID's
$('#Mytbl #MyElement');
ready
ID - Class
$('#Mytbl .MyClass');
ready
Class
$('.MyClass');
ready

Revisions

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