Run details:
Mozilla/5.0 (Linux; Android 9; SM-G950F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36
Chrome Mobile 73
Android
Mobile
5 years ago
Test name Executions per second
getElementsByClassName 164485.4 Ops/sec
querySelectorAll 2156.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getElementsByClassName

  • querySelectorAll