Excluding input type of button

Benchmark created by imsky on


Preparation HTML

<input type="radio">
<input type="checkbox">
<input type="button">
<input>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
All in selector
$("input:not([type='button'])");
ready
With .not
$("input").not(":button");
ready

Revisions

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