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

  • getElementsByClassName