Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36
Chrome 86
Windows
Desktop
4 years ago
Test name Executions per second
Vanilla Get ID 2455052.2 Ops/sec
Vanilla Get Text 2012741.2 Ops/sec
Vanilla Get HTML 1430897.8 Ops/sec
Cash Get ID 1400398.9 Ops/sec
Cash Get Text 1161971.0 Ops/sec
Cash Get HTML 927851.1 Ops/sec
jQuery Get ID 1293427.5 Ops/sec
jQuery Get Text 848184.2 Ops/sec
jQuery Get HTML 841615.4 Ops/sec
Sprint Get ID 2168124.8 Ops/sec
Sprint Get Text 1520555.9 Ops/sec
Sprint Get HTML 1263795.9 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