Run details:
Mozilla/5.0 (Android 10; Mobile; rv:98.0) Gecko/98.0 Firefox/98.0
Firefox Mobile 98
Android
Mobile
2 years ago
Test name Executions per second
querySelector 991284.8 Ops/sec
getElementsByClassName 2267867.5 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName