Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:56.0) Gecko/20100101 Firefox/56.0
Firefox 56
Mac OS X 10.11
Desktop
6 years ago
Test name Executions per second
jQuery 3.3.1 1345116.0 Ops/sec
jQuery 1.9.0 1349118.2 Ops/sec
Vanilla JS querySelector 1919265.5 Ops/sec
Vanilla JS getElementById 2483255.8 Ops/sec
HTML Preparation code:
Tests:
  • jQuery 3.3.1

  • jQuery 1.9.0

  • Vanilla JS querySelector

  • Vanilla JS getElementById