Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Chrome 53
Mac OS X 10.12.0
Other
8 years ago
Test name Executions per second
jQuery 248849.8 Ops/sec
querySelectorAll 96033.1 Ops/sec
getElementsByClassName 2762473.8 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • querySelectorAll

  • getElementsByClassName

  • jQuery: mixed selector

  • querySelectorAll: mixed selector