Run details:
Mozilla/5.0 (Linux; Android 6.0; LG-H815 Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Mobile Safari/537.36
Chrome Mobile 67
Android 6.0
Mobile
6 years ago
Test name Executions per second
jQuery 3.3.1 139824.9 Ops/sec
jQuery 1.9.0 129400.6 Ops/sec
Vanilla JS querySelector 226690.4 Ops/sec
Vanilla JS getElementById 438624.7 Ops/sec
HTML Preparation code:
Tests:
  • jQuery 3.3.1

  • jQuery 1.9.0

  • Vanilla JS querySelector

  • Vanilla JS getElementById