Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4464.0 Safari/537.36 Edg/91.0.852.0
Chrome 91
Windows
Desktop
3 years ago
Test name Executions per second
querySelector 253407.1 Ops/sec
querySelectorAll 1173039.8 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • querySelectorAll