Run details:
Mozilla/5.0 (Android 9; Mobile; rv:65.0) Gecko/65.0 Firefox/65.0
Firefox Mobile 65
Android
Mobile
5 years ago
Test name Executions per second
querySelector 424815.8 Ops/sec
getElementsByClassName 684585.4 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName