Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132
Mac OS X 10.15
Desktop
9 days ago
Test name Executions per second
getElementById 4524173.5 Ops/sec
querySelector 2802030.2 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector