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

  • querySelector

  • window