Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0.1 Safari/602.2.14
Safari 10
Mac OS X 10.12.1
Other
8 years ago
Test name Executions per second
jQuery 1.12.4 495782.5 Ops/sec
querySelectorAll 91742.5 Ops/sec
getElementsByClassName 4583210.5 Ops/sec
jQuery 1.12.4: mixed selector 79757.9 Ops/sec
querySelectorAll: mixed selector 114293.2 Ops/sec
HTML Preparation code:
Tests:
  • jQuery 1.12.4

  • querySelectorAll

  • getElementsByClassName

  • jQuery 1.12.4: mixed selector

  • querySelectorAll: mixed selector


;