Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Firefox 58
Ubuntu
Other
2020 years ago
Test name Executions per second
getElementById 2745616.0 Ops/sec
querySelector 666882.6 Ops/sec
window 355056.9 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • window