Finding Children bug ignoring certain children (v2)

Revision 2 of this benchmark created on


Preparation HTML

<div id=main>
   <div id=a>a</div>
   <div id=b>b</div>
   <div id=c>c</div>
   <div id=d>
      <div id=d1 class="no">
        <div id=d11></div>
        <div id=d12></div>
      </div>
   </div>
   <div id=e>
      <div id=e1>
        <input type=text id=t111>
        <div id=e11 class="no">
            <div id=e111></div>
            <div id=e112></div>
            <input type=text id=et111>
        </div>
        <div id=e12></div>
        <span id=e13></span>
      </div>
   </div>
 </div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
Using Internal NOT
$('#main *:not(.no  *)').width(10);
ready
Using External NOT
$('#main *').not('.no *').width(10);
ready

Revisions

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