Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0) Gecko/20100101 Firefox/144.0
Firefox 144
Windows
Desktop
5 months ago
Test name Executions per second
querySelector w/ string concatenation 985527.1 Ops/sec
querySelector w/ string 1021688.4 Ops/sec
getElementById 4835045.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • querySelector w/ string concatenation

  • querySelector w/ string

  • getElementById