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

  • querySelector

  • window