Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
Chrome 90
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 1798609.5 Ops/sec
Vanilla Get Text 1501824.8 Ops/sec
Vanilla Get HTML 1344766.9 Ops/sec
Cash Get ID 1064999.1 Ops/sec
Cash Get Text 969876.1 Ops/sec
Cash Get HTML 827039.4 Ops/sec
jQuery Get ID 975671.1 Ops/sec
jQuery Get Text 698313.4 Ops/sec
jQuery Get HTML 766378.9 Ops/sec
Sprint Get ID 1620662.1 Ops/sec
Sprint Get Text 1167977.8 Ops/sec
Sprint Get HTML 1165328.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