Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.79 Chrome/61.0.3163.79 Safari/537.36
Chromium 61
Ubuntu
Other
7 years ago
Test name Executions per second
getElementById 4163780.2 Ops/sec
querySelector 3530638.5 Ops/sec
window 2337116.5 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • window