Run details:
Mozilla/5.0 (Linux; Android 7.1.2; MK39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36 OPR/61.1.3076.56625
Opera 61
Android 7.1.2
Desktop
4 years ago
Test name Executions per second
TreeWalker 121219.7 Ops/sec
querySelectorAll 200880.6 Ops/sec
HTML Preparation code:
Tests:
  • TreeWalker

  • querySelectorAll