Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0
Firefox 108
Windows 7
Desktop
one year ago
Test name Executions per second
querySelectorAll by Attribute 2329.4 Ops/sec
jQuery selector by Attribute 881.9 Ops/sec
querySelectorAll by Class 3862.2 Ops/sec
jQuery selector by Class 848.3 Ops/sec
querySelectorAll by Element 2872.1 Ops/sec
jQuery selector by Element 2266.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


;