Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows
Desktop
6 years ago
Test name Executions per second
jQuery 3.3.1 700441.3 Ops/sec
jQuery 2.1.4 587644.1 Ops/sec
Vanilla JS querySelector 645396.8 Ops/sec
Vanilla JS getElementById 1084537.5 Ops/sec
HTML Preparation code:
Tests:
  • jQuery 3.3.1

  • jQuery 2.1.4

  • Vanilla JS querySelector

  • Vanilla JS getElementById


;