Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Firefox 57
Windows
Other
7 years ago
Test name Executions per second
getElementById 5767616.0 Ops/sec
querySelector 2171931.8 Ops/sec
window 695065.4 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • window