Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.19 Safari/537.36 OPR/42.0.2392.0 (Edition developer)
Opera 42
Windows
Other
8 years ago
Test name Executions per second
jQuery 1.12.4 435047.4 Ops/sec
querySelectorAll 90535.5 Ops/sec
getElementsByClassName 4114621.5 Ops/sec
jQuery 1.12.4: mixed selector 63482.5 Ops/sec
querySelectorAll: mixed selector 81287.3 Ops/sec
HTML Preparation code:
Tests:
  • jQuery 1.12.4

  • querySelectorAll

  • getElementsByClassName

  • jQuery 1.12.4: mixed selector

  • querySelectorAll: mixed selector


;