Run details:
Mozilla/5.0 (Linux; Android 11; AC2003) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Mobile Safari/537.36
Chrome Mobile 89
Android
Mobile
3 years ago
Test name Executions per second
jQuery 3.3.1 694538.8 Ops/sec
jQuery 2.1.4 678713.1 Ops/sec
Vanilla JS querySelector 959017.4 Ops/sec
Vanilla JS getElementById 1680064.4 Ops/sec
HTML Preparation code:
Tests:
  • jQuery 3.3.1

  • jQuery 2.1.4

  • Vanilla JS querySelector

  • Vanilla JS getElementById


;