Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0
Firefox 73
Windows
Desktop
4 years ago
Test name Executions per second
jQuery 3.3.1 1874616.2 Ops/sec
jQuery 2.1.4 1767861.5 Ops/sec
Vanilla JS querySelector 1540785.0 Ops/sec
Vanilla JS getElementById 2178191.5 Ops/sec
HTML Preparation code:
Tests:
  • jQuery 3.3.1

  • jQuery 2.1.4

  • Vanilla JS querySelector

  • Vanilla JS getElementById


;