Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117
Windows
Desktop
one year ago
Test name Executions per second
querySelector 1 2657535.8 Ops/sec
querySelector 2 2425245.0 Ops/sec
querySelector 3 2747540.5 Ops/sec
querySelector 4 2449960.5 Ops/sec
querySelector 5 2551843.2 Ops/sec
HTML Preparation code:
Tests:
  • querySelector 1

  • querySelector 2

  • querySelector 3

  • querySelector 4

  • querySelector 5