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 7490184.0 Ops/sec
querySelector 2486962.0 Ops/sec
window 887446.3 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • window