Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132
Ubuntu
Desktop
7 days ago
Test name Executions per second
getElementById 6147367.5 Ops/sec
querySelector 3881101.2 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector