Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0
Firefox 118
Linux
Desktop
one year ago
Test name Executions per second
querySelectorAll by Attribute 3677.0 Ops/sec
jQuery selector by Attribute 1737.9 Ops/sec
querySelectorAll by Class 3505.9 Ops/sec
jQuery selector by Class 8321.8 Ops/sec
querySelectorAll by Element 3378.8 Ops/sec
jQuery selector by Element 6278.3 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


;