Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Chrome 104
Windows
Desktop
2 years ago
Test name Executions per second
Vanilla Get ID 4127122.8 Ops/sec
Vanilla Get Text 2951148.0 Ops/sec
Vanilla Get HTML 2799299.5 Ops/sec
Cash Get ID 2444312.2 Ops/sec
Cash Get Text 1901792.2 Ops/sec
Cash Get HTML 1927019.2 Ops/sec
jQuery Get ID 2125095.0 Ops/sec
jQuery Get Text 1399042.0 Ops/sec
jQuery Get HTML 1645996.8 Ops/sec
Sprint Get ID 3259106.2 Ops/sec
Sprint Get Text 2055577.6 Ops/sec
Sprint Get HTML 2162688.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