Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/124.0.6367.111 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 124
iOS 17.4
Mobile
7 months ago
Test name Executions per second
TreeWalker 1941757.6 Ops/sec
querySelectorAll 8028239.5 Ops/sec
HTML Preparation code:
Tests:
  • TreeWalker

  • querySelectorAll