Run details:
Mozilla/5.0 (Linux; Android 12; ONEPLUS A5010) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36
Chrome Mobile 109
Android
Mobile
one year ago
Test name Executions per second
querySelectorAll by Attribute 1080.4 Ops/sec
jQuery selector by Attribute 182.6 Ops/sec
querySelectorAll by Class 2117.1 Ops/sec
jQuery selector by Class 214.8 Ops/sec
querySelectorAll by Element 4262.8 Ops/sec
jQuery selector by Element 221.7 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


;