Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
Chrome 93
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 4112912.8 Ops/sec
Vanilla Get Text 3045204.2 Ops/sec
Vanilla Get HTML 2718307.2 Ops/sec
Cash Get ID 2178068.2 Ops/sec
Cash Get Text 1796141.4 Ops/sec
Cash Get HTML 1700900.4 Ops/sec
jQuery Get ID 1943058.5 Ops/sec
jQuery Get Text 1182822.8 Ops/sec
jQuery Get HTML 1499253.6 Ops/sec
Sprint Get ID 3466909.2 Ops/sec
Sprint Get Text 2067896.0 Ops/sec
Sprint Get HTML 2368463.2 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