Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
Firefox 70
Windows
Desktop
5 years ago
Test name Executions per second
Vanilla Get ID 3385757.5 Ops/sec
Vanilla Get Text 2544183.5 Ops/sec
Vanilla Get Html 2650820.5 Ops/sec
Cash Get ID 3604601.8 Ops/sec
Cash Get Text 2558748.2 Ops/sec
Cash Get Html 3512324.2 Ops/sec
jQuery Get ID 3567144.5 Ops/sec
jQuery Get Text 2060997.2 Ops/sec
jQuery Get Html 1803124.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