Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Chrome 125
Mac OS X 10.15.7
Desktop
7 months ago
Test name Executions per second
jQuery 804435.4 Ops/sec
querySelectorAll 1610212.8 Ops/sec
getElementsByClassName 7810870.0 Ops/sec
jQuery mixed selector 473979.9 Ops/sec
querySelectorAll mixed selector 1409548.1 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • querySelectorAll

  • getElementsByClassName

  • jQuery mixed selector

  • querySelectorAll mixed selector