Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Chrome 87
Linux
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 2160220.2 Ops/sec
Vanilla Get Text 1636968.0 Ops/sec
Vanilla Get HTML 1207001.5 Ops/sec
Cash Get ID 993132.9 Ops/sec
Cash Get Text 822014.1 Ops/sec
Cash Get HTML 728571.4 Ops/sec
jQuery Get ID 833479.8 Ops/sec
jQuery Get Text 557438.4 Ops/sec
jQuery Get HTML 520372.5 Ops/sec
Sprint Get ID 1337571.4 Ops/sec
Sprint Get Text 908893.8 Ops/sec
Sprint Get HTML 883151.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