Run details:
Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG SM-G930V Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/7.4 Chrome/59.0.3071.125 Mobile Safari/537.36
Chrome Mobile 59
Android 6.0.1
Mobile
6 years ago
Test name Executions per second
querySelector 256740.4 Ops/sec
getElementsByClassName 442860.2 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName