jq-selectors

Benchmark created on


Preparation HTML

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

<input type="text" />

Test runner

Ready to run.

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

Revisions

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