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

  • getElementsByClassName