Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 OPR/49.0.2725.64
Opera 49
Windows
Other
2025 years ago
Test name Executions per second
getElementById 2406720.8 Ops/sec
querySelector 1968304.8 Ops/sec
window 1559224.5 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • window