Run details:
Mozilla/5.0 (Android 14; Mobile; rv:129.0) Gecko/129.0 Firefox/129.0
Firefox Mobile 129
Android
Mobile
2 months ago
Test name Executions per second
querySelectorAll by Attribute 2376.6 Ops/sec
jQuery selector by Attribute 1562.2 Ops/sec
querySelectorAll by Class 2504.5 Ops/sec
jQuery selector by Class 5336.2 Ops/sec
querySelectorAll by Element 3253.7 Ops/sec
jQuery selector by Element 5164.0 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