Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36
Chrome 70
Windows 7
Desktop
5 years ago
Test name Executions per second
jQuery 1.12.4 209857.8 Ops/sec
querySelectorAll 383139.1 Ops/sec
getElementsByClassName 2422630.5 Ops/sec
jQuery 1.12.4: mixed selector 108379.1 Ops/sec
querySelectorAll: mixed selector 308542.5 Ops/sec
HTML Preparation code:
Tests:
  • jQuery 1.12.4

  • querySelectorAll

  • getElementsByClassName

  • jQuery 1.12.4: mixed selector

  • querySelectorAll: mixed selector


;