Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:85.0) Gecko/20100101 Firefox/85.0
Firefox 85
Mac OS X 10.16
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 4639526.5 Ops/sec
Vanilla Get Text 3470812.0 Ops/sec
Vanilla Get HTML 3391821.8 Ops/sec
Cash Get ID 3350593.2 Ops/sec
Cash Get Text 3248360.5 Ops/sec
Cash Get HTML 2107837.8 Ops/sec
jQuery Get ID 3270223.5 Ops/sec
jQuery Get Text 1664984.4 Ops/sec
jQuery Get HTML 1669317.8 Ops/sec
Sprint Get ID 4168721.2 Ops/sec
Sprint Get Text 2283105.8 Ops/sec
Sprint Get HTML 2339473.2 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