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 2205.8 Ops/sec
jQuery selector by Attribute 1378.7 Ops/sec
querySelectorAll by Class 3737.6 Ops/sec
jQuery selector by Class 3587.2 Ops/sec
querySelectorAll by Element 3822.5 Ops/sec
jQuery selector by Element 4464.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


;