Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SAMSUNG SM-G935F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/7.0 Chrome/59.0.3071.125 Mobile Safari/537.36
Chrome Mobile 59
Android 8.0.0
Mobile
6 years ago
Test name Executions per second
querySelector 487215.9 Ops/sec
getElementsByClassName 670875.8 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName