Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 Edg/90.0.818.62
Chrome 90
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 4637905.5 Ops/sec
Vanilla Get Text 3790943.0 Ops/sec
Vanilla Get Html 3137869.8 Ops/sec
Cash Get ID 2536346.2 Ops/sec
Cash Get Text 2109434.8 Ops/sec
Cash Get Html 1918371.5 Ops/sec
Bliss Get ID 2168803.5 Ops/sec
Bliss Get Text 1945598.8 Ops/sec
jQuery Get ID 2149964.2 Ops/sec
jQuery Get Text 1462477.1 Ops/sec
jQuery Get Html 1628468.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

  • Bliss Get ID

  • Bliss Get Text

  • jQuery Get ID

  • jQuery Get Text

  • jQuery Get Html