Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Ubuntu
Desktop
2 months ago
Test name Executions per second
querySelectorAll by Attribute 7228.6 Ops/sec
jQuery selector by Attribute 3536.8 Ops/sec
querySelectorAll by Class 7109.5 Ops/sec
jQuery selector by Class 9264.1 Ops/sec
querySelectorAll by Element 5783.7 Ops/sec
jQuery selector by Element 3387.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


;