Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Chrome 78
Linux
Desktop
5 years ago
Test name Executions per second
jQuery 3.3.1 735289.0 Ops/sec
jQuery 1.8.3 619486.1 Ops/sec
Vanilla JS querySelector 1537215.6 Ops/sec
Vanilla JS getElementById 2913465.5 Ops/sec
HTML Preparation code:
Tests:
  • jQuery 3.3.1

  • jQuery 1.8.3

  • Vanilla JS querySelector

  • Vanilla JS getElementById