Run details:
Mozilla/5.0 (Android 7.1.1; Mobile; rv:86.0) Gecko/86.0 Firefox/86.0
Firefox Mobile 86
Android 7.1.1
Mobile
3 years ago
Test name Executions per second
querySelectorAll 121312.9 Ops/sec
getElementsByClassName 532634.6 Ops/sec
HTML Preparation code:
Tests:
  • querySelectorAll

  • getElementsByClassName