Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133
Linux
Desktop
19 days ago
Test name Executions per second
querySelector 4922649.5 Ops/sec
getElementsByClassName 6078603.0 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName