HTML Preparation code:
AخA
 
1
<div id="test1">1</div>
2
<div id="test2">2</div>
3
<div id="test3">3</div>
4
<div id="test4">4</div>
5
<div id="test5">5</div>
6
<div id="test6">6</div>
7
<div id="test7">7</div>
8
<div id="test8">8</div>
9
<div id="test9">9</div>
10
<div id="test10">10</div>
11
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.js'></script>
Tests:
  • find by id

     
    $("#test5");
  • find by id and tag

     
    $("div#test5");
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    find by id
    find by id and tag

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78 on Windows
View result in a separate tab
Test name Executions per second
find by id 2213615.5 Ops/sec
find by id and tag 136610.2 Ops/sec