Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Safari/602.1.50
Safari 10
Mac OS X 10.12
Other
8 years ago
Test name Executions per second
jQuery 470423.1 Ops/sec
querySelectorAll 98535.5 Ops/sec
getElementsByClassName 4448066.0 Ops/sec
jQuery: mixed selector 80129.2 Ops/sec
querySelectorAll: mixed selector 115223.2 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • querySelectorAll

  • getElementsByClassName

  • jQuery: mixed selector

  • querySelectorAll: mixed selector


;