Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Chrome 67
Linux
Desktop
6 years ago
Test name Executions per second
jQuery 3.3.1 1602319.0 Ops/sec
jQuery 2.1.4 1517617.1 Ops/sec
Vanilla JS querySelector 2042210.0 Ops/sec
Vanilla JS getElementById 3648493.5 Ops/sec
HTML Preparation code:
Tests:
  • jQuery 3.3.1

  • jQuery 2.1.4

  • Vanilla JS querySelector

  • Vanilla JS getElementById


;