Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Chrome 53
Windows 7
Other
8 years ago
Test name Executions per second
jQuery 153839.2 Ops/sec
querySelectorAll 56435.5 Ops/sec
getElementsByClassName 2326371.8 Ops/sec
jQuery: mixed selector 37772.4 Ops/sec
querySelectorAll: mixed selector 60576.9 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • querySelectorAll

  • getElementsByClassName

  • jQuery: mixed selector

  • querySelectorAll: mixed selector


;