Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Linux
Desktop
one year ago
Test name Executions per second
querySelectorAll by Attribute 3099.9 Ops/sec
jQuery selector by Attribute 1913.4 Ops/sec
querySelectorAll by Class 4996.5 Ops/sec
jQuery selector by Class 6224.3 Ops/sec
querySelectorAll by Element 5535.6 Ops/sec
jQuery selector by Element 6622.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


;