Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Moto G (5S) Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.90 Mobile Safari/537.36
Chrome Mobile 78
Android 8.1.0
Mobile
5 years ago
Test name Executions per second
jQuery 3.3.1 220514.8 Ops/sec
jQuery 2.1.4 214275.5 Ops/sec
Vanilla JS querySelector 321153.2 Ops/sec
Vanilla JS getElementById 596694.0 Ops/sec
HTML Preparation code:
Tests:
  • jQuery 3.3.1

  • jQuery 2.1.4

  • Vanilla JS querySelector

  • Vanilla JS getElementById


;