Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133
Ubuntu
Desktop
9 days ago
Test name Executions per second
querySelector 858126.8 Ops/sec
querySelector + cache 24673.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • querySelector

  • querySelector + cache