not jquery selectors

Benchmark created on


Preparation HTML

<table>      
    <tr class="table_row">
        <td></td>
    </tr>
    <tr class="table_row">                                   
        <td></td>
    </tr>
    <tr class="table_row">
        <td></td>
    </tr>
    <tr class="table_row valuetemplate">
        <td></td>
    </tr>
</table>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
.not()
$(".table_row").not('.valuetemplate')
ready
:not
$(".table_row:not(.valuetemplate)")
ready
children :not
$("table").children(":not(.valuetemplate)");
ready

Revisions

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