Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
Chrome 96
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
Vanilla Get ID 7125994.5 Ops/sec
Vanilla Get Text 5331023.5 Ops/sec
Vanilla Get HTML 4590450.5 Ops/sec
Cash Get ID 4352287.5 Ops/sec
Cash Get Text 3329901.0 Ops/sec
Cash Get HTML 3220533.5 Ops/sec
jQuery Get ID 3859217.5 Ops/sec
jQuery Get Text 2458937.0 Ops/sec
jQuery Get HTML 2845973.8 Ops/sec
Sprint Get ID 6293362.5 Ops/sec
Sprint Get Text 3410306.5 Ops/sec
Sprint Get HTML 4042655.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