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 4091821.8 Ops/sec
querySelector 3450297.5 Ops/sec
window 2390058.5 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • window