jq-selectors (v4)

Revision 4 of this benchmark created by f on


Preparation HTML

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

<input type="text" name="jack" />

Test runner

Ready to run.

Testing in
TestOps/sec
input[type]
var i = $("input[name='jack']");
ready
[type]
var i = $("[name='jack']");
ready
:text
 
ready
input:text
 
ready

Revisions

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