Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 11_4_1 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) CriOS/67.0.3396.87 Mobile/15G77 Safari/604.1
Chrome Mobile iOS 67
iOS 11.4.1
Mobile
6 years ago
Test name Executions per second
querySelector 642110.9 Ops/sec
getElementsByClassName 1296554.1 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName