Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 11_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/1.6.2b18.05.29.10 Mobile/15G77 Safari/605.1.15 _id/000002
Mobile Safari 11
iOS 11.4.1
Mobile
6 years ago
Test name Executions per second
querySelector 2138298.2 Ops/sec
getElementsByClassName 2410725.5 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName