Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
Chrome 100
Windows
Desktop
2 years ago
Test name Executions per second
Vanilla Get ID 1570869.4 Ops/sec
Vanilla Get Text 1123255.5 Ops/sec
Vanilla Get HTML 1080383.1 Ops/sec
Cash Get ID 888345.6 Ops/sec
Cash Get Text 708321.9 Ops/sec
Cash Get HTML 725581.4 Ops/sec
jQuery Get ID 821531.6 Ops/sec
jQuery Get Text 495356.6 Ops/sec
jQuery Get HTML 635160.5 Ops/sec
Sprint Get ID 1366597.6 Ops/sec
Sprint Get Text 810772.6 Ops/sec
Sprint Get HTML 965893.9 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