Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0
Firefox 131
Ubuntu
Desktop
one month ago
Test name Executions per second
querySelectorAll by Attribute 5492.9 Ops/sec
jQuery selector by Attribute 3452.5 Ops/sec
querySelectorAll by Class 5521.9 Ops/sec
jQuery selector by Class 13955.5 Ops/sec
querySelectorAll by Element 5243.7 Ops/sec
jQuery selector by Element 6912.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


;