Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Firefox 60
Ubuntu
Desktop
6 years ago
Test name Executions per second
getElementById 2874048.5 Ops/sec
querySelector 1723195.4 Ops/sec
window 389541.9 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • window