HTML Preparation code:
AخA
 
1
<div id="test"></div>
Tests:
  • id

     
    let myvar = test;
  • getElementById

     
    let myvar = document.getElementById("test");
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    id
    getElementById

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 27 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0
Firefox 136 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
id 893865.6 Ops/sec
getElementById 3666313.5 Ops/sec