Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0
Firefox 55
Mac OS X 10.12
Other
2 years ago
Test name Executions per second
getElementById 7312994.0 Ops/sec
querySelector 2258845.0 Ops/sec
window 807389.4 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • window