Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0
Firefox 116
Ubuntu
Desktop
one year ago
Test name Executions per second
querySelectorAll by Attribute 2405.7 Ops/sec
jQuery selector by Attribute 1607.7 Ops/sec
querySelectorAll by Class 4251.3 Ops/sec
jQuery selector by Class 4883.2 Ops/sec
querySelectorAll by Element 4641.3 Ops/sec
jQuery selector by Element 6455.9 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


;