Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Linux
Desktop
one year ago
Test name Executions per second
querySelectorAll by Attribute 3035.8 Ops/sec
jQuery selector by Attribute 2086.4 Ops/sec
querySelectorAll by Class 5874.3 Ops/sec
jQuery selector by Class 6188.1 Ops/sec
querySelectorAll by Element 5140.8 Ops/sec
jQuery selector by Element 6214.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


;