Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15
Safari 17
Mac OS X 10.15.7
Desktop
9 months ago
Test name Executions per second
querySelectorAll on attribute 1313052.9 Ops/sec
functional filtering 109509.4 Ops/sec
for of loop 75520.5 Ops/sec
traditional for loop 126840.4 Ops/sec
HTML Preparation code:
Tests:
  • querySelectorAll on attribute

  • functional filtering

  • for of loop

  • traditional for loop


;