Run details:
Mozilla/5.0 (Linux; Android 12; SM-G975F Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/98.0.4758.101 Mobile Safari/537.36
Chrome Mobile 98
Android
Mobile
2 years ago
Test name Executions per second
The method getElementsByClassName() 2459515.2 Ops/sec
The method querySelectorAll() 413891.4 Ops/sec
HTML Preparation code:
Tests:
  • The method getElementsByClassName()

  • The method querySelectorAll()


;