Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:99.0) Gecko/20100101 Firefox/99.0
Firefox 99
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
querySelectorAll by Attribute 2215.5 Ops/sec
jQuery selector by Attribute 1395.5 Ops/sec
querySelectorAll by Class 3245.6 Ops/sec
jQuery selector by Class 4528.3 Ops/sec
querySelectorAll by Element 3706.0 Ops/sec
jQuery selector by Element 4086.4 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


;