HTML Preparation code:
AخA
 
1
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
2
<div id="#test-root"><div class="test-child"><div class="test2"></div></div></div>  
Tests:
  • Inline Selector

     
    jQuery('#test-root .test-child > .test2').css('border', '1px solid red');
  • Find

     
    jQuery('#test-root').find('.test-child > .test2').css('border', '1px solid red');
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Inline Selector
    Find

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
Chrome 53 on Mac OS X 10.10.3
View result in a separate tab
Test name Executions per second
Inline Selector 96660.1 Ops/sec
Find 1204995.6 Ops/sec