Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/8.1.5 Mobile/15E148 Safari/605.1.15
Mobile Safari 12
iOS 12.4
Mobile
3 years ago
Test name Executions per second
getElementById 2786265.0 Ops/sec
querySelector 2089427.5 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector


;