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

  • querySelector

  • window