Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Chrome 61
Mac OS X 10.13.0
Other
7 years ago
Test name Executions per second
jQuery 1.12.4 246987.1 Ops/sec
querySelectorAll 80135.4 Ops/sec
getElementsByClassName 2549716.8 Ops/sec
jQuery 1.12.4: mixed selector 46232.2 Ops/sec
querySelectorAll: mixed selector 78753.8 Ops/sec
HTML Preparation code:
Tests:
  • jQuery 1.12.4

  • querySelectorAll

  • getElementsByClassName

  • jQuery 1.12.4: mixed selector

  • querySelectorAll: mixed selector


;