Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
Firefox 89
Windows
Desktop
3 years ago
Test name Executions per second
getElementById 1479804.4 Ops/sec
querySelector 444829.5 Ops/sec
querySelectorAll 93375.0 Ops/sec
with iF 337175.7 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • querySelectorAll

  • with iF


;