Run details:
Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows 8.1
Desktop
5 years ago
Test name Executions per second
jQuery 3.3.1 797413.2 Ops/sec
jQuery 1.9.0 615324.6 Ops/sec
Vanilla JS querySelector 796015.6 Ops/sec
Vanilla JS getElementById 1252088.8 Ops/sec
HTML Preparation code:
Tests:
  • jQuery 3.3.1

  • jQuery 1.9.0

  • Vanilla JS querySelector

  • Vanilla JS getElementById