Run details:
Mozilla/5.0 (Android 9; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0
Firefox Mobile 68
Android
Mobile
4 years ago
Test name Executions per second
querySelector 978596.0 Ops/sec
getElementsByClassName 1556062.2 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName