Run details:
Mozilla/5.0 (Android 7.0; Mobile; rv:92.0) Gecko/92.0 Firefox/92.0
Firefox Mobile 92
Android 7.0
Mobile
3 years ago
Test name Executions per second
querySelector 564168.4 Ops/sec
getElementsByClassName 1071245.8 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName