Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
Firefox 56
Linux
Other
7 years ago
Test name Executions per second
getElementById 6038977.5 Ops/sec
querySelector 2328128.2 Ops/sec
window 874167.9 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • window