Run details:
Mozilla/5.0 (iPad; CPU OS 12_4_9 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1
Mobile Safari 12
iOS 12.4.9
Tablet
3 years ago
Test name Executions per second
querySelectorAll 271942.4 Ops/sec
getElementsByTagName 214696.7 Ops/sec
HTML Preparation code:
Tests:
  • querySelectorAll

  • getElementsByTagName