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

  • jQuery 1.8.3

  • Vanilla JS querySelector

  • Vanilla JS getElementById