Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Windows 8.1
Desktop
one year ago
Test name Executions per second
jQuery 1.12.4 540988.9 Ops/sec
querySelectorAll 624437.8 Ops/sec
getElementsByClassName 5042662.0 Ops/sec
jQuery 1.12.4: mixed selector 249634.7 Ops/sec
querySelectorAll: mixed selector 483331.2 Ops/sec
HTML Preparation code:
Tests:
  • jQuery 1.12.4

  • querySelectorAll

  • getElementsByClassName

  • jQuery 1.12.4: mixed selector

  • querySelectorAll: mixed selector