Run details:
Mozilla/5.0 (Windows NT 6.1; rv:90.0) Gecko/20100101 Firefox/90.0
Firefox 90
Windows 7
Desktop
3 years ago
Test name Executions per second
getElementById 765783.9 Ops/sec
querySelector 321370.1 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector


;