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
2 years ago
Test name Executions per second
getElementById 4091822.0 Ops/sec
querySelector 3450298.0 Ops/sec
window 2390059.0 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • window