Run details:
Mozilla/5.0 (Linux; Android 12; SM-S901U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Mobile Safari/537.36
Chrome Mobile 106
Android
Mobile
2 years ago
Test name Executions per second
querySelectorAll by Attribute 2797.8 Ops/sec
jQuery selector by Attribute 536.2 Ops/sec
querySelectorAll by Class 6662.7 Ops/sec
jQuery selector by Class 654.0 Ops/sec
querySelectorAll by Element 7037.2 Ops/sec
jQuery selector by Element 649.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


;