Run details:
Mozilla/5.0 (Linux; Android 10; 6201) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Mobile Safari/537.36 OPR/64.2.3282.60128
Opera Mobile 64
Android
Mobile
3 years ago
Test name Executions per second
jQuery 32441.8 Ops/sec
querySelectorAll 101026.6 Ops/sec
getElementsByClassName 441462.1 Ops/sec
jQuery: mixed selector 24694.3 Ops/sec
querySelectorAll: mixed selector 76593.2 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • querySelectorAll

  • getElementsByClassName

  • jQuery: mixed selector

  • querySelectorAll: mixed selector