Run details:
Mozilla/5.0 (Android 11; Mobile; rv:95.0) Gecko/95.0 Firefox/95.0
Firefox Mobile 95
Android
Mobile
2 years ago
Test name Executions per second
querySelector 2617168.5 Ops/sec
getElementsByClassName 5150248.0 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName