Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 OPR/49.0.2725.64
Opera 49
Windows
Other
2020 years ago
Test name Executions per second
getElementById 2406721.0 Ops/sec
querySelector 1968305.0 Ops/sec
window 1559225.0 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • window