Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
jQuery 424876.9 Ops/sec
querySelectorAll 1199796.4 Ops/sec
getElementsByClassName 5016424.5 Ops/sec
jQuery mixed selector 283186.9 Ops/sec
querySelectorAll mixed selector 895395.9 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • querySelectorAll

  • getElementsByClassName

  • jQuery mixed selector

  • querySelectorAll mixed selector


;