Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36
Chrome 92
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 4088516.2 Ops/sec
Vanilla Get Text 2902150.5 Ops/sec
Vanilla Get HTML 2727242.8 Ops/sec
Cash Get ID 2284460.0 Ops/sec
Cash Get Text 1821896.5 Ops/sec
Cash Get HTML 1698492.9 Ops/sec
jQuery Get ID 1939746.9 Ops/sec
jQuery Get Text 1223498.1 Ops/sec
jQuery Get HTML 1481812.5 Ops/sec
Sprint Get ID 3365923.2 Ops/sec
Sprint Get Text 2088524.8 Ops/sec
Sprint Get HTML 2298556.8 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