Run details:
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0
Firefox 53
Windows 8.1
Other
7 years ago
Test name Executions per second
jQuery 163051.5 Ops/sec
querySelectorAll 51463.7 Ops/sec
getElementsByClassName 10123515.0 Ops/sec
jQuery: mixed selector 44504.9 Ops/sec
querySelectorAll: mixed selector 77301.8 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • querySelectorAll

  • getElementsByClassName

  • jQuery: mixed selector

  • querySelectorAll: mixed selector