Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Chrome 85
Mac OS X 10.15.6
Desktop
4 years ago
Test name Executions per second
Vanilla Get ID 2649540.5 Ops/sec
Vanilla Get Text 2049052.4 Ops/sec
Vanilla Get HTML 1336005.4 Ops/sec
Cash Get ID 1260500.0 Ops/sec
Cash Get Text 920462.6 Ops/sec
Cash Get HTML 997084.9 Ops/sec
jQuery Get ID 1303484.2 Ops/sec
jQuery Get Text 918661.2 Ops/sec
jQuery Get HTML 923747.6 Ops/sec
Sprint Get ID 2452377.5 Ops/sec
Sprint Get Text 1728828.9 Ops/sec
Sprint Get HTML 1395273.1 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