Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0
Firefox 87
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 6126187.5 Ops/sec
Vanilla Get Text 4667811.0 Ops/sec
Vanilla Get HTML 4745513.0 Ops/sec
Cash Get ID 4814955.5 Ops/sec
Cash Get Text 4488820.5 Ops/sec
Cash Get HTML 2719868.0 Ops/sec
jQuery Get ID 4885196.0 Ops/sec
jQuery Get Text 2334409.0 Ops/sec
jQuery Get HTML 2112070.0 Ops/sec
Sprint Get ID 6300966.0 Ops/sec
Sprint Get Text 3316767.2 Ops/sec
Sprint Get HTML 3148850.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