Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36
Chrome 89
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 2712341.8 Ops/sec
Vanilla Get Text 2162895.0 Ops/sec
Vanilla Get HTML 1829927.1 Ops/sec
Cash Get ID 1556246.5 Ops/sec
Cash Get Text 1297763.6 Ops/sec
Cash Get HTML 1202848.9 Ops/sec
jQuery Get ID 1359153.1 Ops/sec
jQuery Get Text 880277.0 Ops/sec
jQuery Get HTML 1056109.4 Ops/sec
Sprint Get ID 2275731.5 Ops/sec
Sprint Get Text 1584196.0 Ops/sec
Sprint Get HTML 1614244.5 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