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 125068.3 Ops/sec
getElementsByClassName 532860.8 Ops/sec
HTML Preparation code:
Tests:
  • querySelectorAll

  • getElementsByClassName