Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
Firefox 91
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 8439432.0 Ops/sec
Vanilla Get Text 6492881.5 Ops/sec
Vanilla Get HTML 6581173.0 Ops/sec
Cash Get ID 5765427.5 Ops/sec
Cash Get Text 5425734.5 Ops/sec
Cash Get HTML 3215922.8 Ops/sec
jQuery Get ID 6087527.5 Ops/sec
jQuery Get Text 2868472.5 Ops/sec
jQuery Get HTML 2681422.2 Ops/sec
Sprint Get ID 8662216.0 Ops/sec
Sprint Get Text 4076289.2 Ops/sec
Sprint Get HTML 3799759.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