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
7 years ago
Test name Executions per second
getElementById 7312993.5 Ops/sec
querySelector 2258844.8 Ops/sec
window 807389.4 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • window