Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36
Chrome 94
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 3003985.0 Ops/sec
Vanilla Get Text 1656539.0 Ops/sec
Vanilla Get HTML 2098181.8 Ops/sec
Cash Get ID 1561186.8 Ops/sec
Cash Get Text 1204754.0 Ops/sec
Cash Get HTML 1242787.8 Ops/sec
jQuery Get ID 1368106.4 Ops/sec
jQuery Get Text 753611.0 Ops/sec
jQuery Get HTML 990506.4 Ops/sec
Sprint Get ID 2425436.2 Ops/sec
Sprint Get Text 1338684.2 Ops/sec
Sprint Get HTML 1732870.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