Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36
Chrome 63
Linux
Other
2025 years ago
Test name Executions per second
getElementById 3846163.0 Ops/sec
querySelector 3076862.8 Ops/sec
window 2550155.0 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • window