Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133
Mac OS X 10.15
Desktop
17 days ago
Test name Executions per second
querySelector 259263.4 Ops/sec
querySelector + cache 5774.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • querySelector

  • querySelector + cache