Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128
Linux
Desktop
2 months ago
Test name Executions per second
querySelectorAll by Attribute 1416.5 Ops/sec
jQuery selector by Attribute 453.2 Ops/sec
querySelectorAll by Class 2159.3 Ops/sec
jQuery selector by Class 533.9 Ops/sec
querySelectorAll by Element 2752.2 Ops/sec
jQuery selector by Element 542.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • querySelectorAll by Attribute

  • jQuery selector by Attribute

  • querySelectorAll by Class

  • jQuery selector by Class

  • querySelectorAll by Element

  • jQuery selector by Element


;