Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
Chrome 86
Windows
Desktop
4 years ago
Test name Executions per second
Vanilla Get ID 2213267.5 Ops/sec
Vanilla Get Text 1570175.9 Ops/sec
Vanilla Get HTML 1031722.7 Ops/sec
Cash Get ID 980894.8 Ops/sec
Cash Get Text 724727.9 Ops/sec
Cash Get HTML 500978.9 Ops/sec
jQuery Get ID 728275.4 Ops/sec
jQuery Get Text 457292.1 Ops/sec
jQuery Get HTML 416711.9 Ops/sec
Sprint Get ID 1730023.1 Ops/sec
Sprint Get Text 990895.6 Ops/sec
Sprint Get HTML 927386.0 Ops/sec
HTML Preparation code:
Tests:
  • Vanilla Get ID

  • Vanilla Get Text

  • Vanilla Get HTML

  • Cash Get ID

  • Cash Get Text

  • Cash Get HTML

  • jQuery Get ID

  • jQuery Get Text

  • jQuery Get HTML

  • Sprint Get ID

  • Sprint Get Text

  • Sprint Get HTML