Run details:
Mozilla/5.0 (Linux; Android 7.1.2; LG-H930) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.80 Mobile Safari/537.36
Chrome Mobile 70
Android 7.1.2
Mobile
5 years ago
Test name Executions per second
querySelector 694262.2 Ops/sec
getElementsByClassName 728394.0 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName