Run details:
Mozilla/5.0 (Linux; Android 13; SM-A225F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36
Chrome Mobile 112
Android
Mobile
one year ago
Test name Executions per second
jQuery 110662.7 Ops/sec
querySelectorAll 357762.2 Ops/sec
getElementsByClassName 1202488.1 Ops/sec
jQuery mixed selector 84017.9 Ops/sec
querySelectorAll mixed selector 255648.6 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • querySelectorAll

  • getElementsByClassName

  • jQuery mixed selector

  • querySelectorAll mixed selector