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 1100.5 Ops/sec
jQuery selector by Attribute 1075.2 Ops/sec
querySelectorAll by Class 2866.2 Ops/sec
jQuery selector by Class 3514.3 Ops/sec
querySelectorAll by Element 3281.5 Ops/sec
jQuery selector by Element 3959.8 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


;