Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15
Safari 15
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 5662290.0 Ops/sec
Vanilla Get Text 4842037.0 Ops/sec
Vanilla Get Html 3264387.0 Ops/sec
Cash Get ID 2532167.2 Ops/sec
Cash Get Text 2488379.2 Ops/sec
Cash Get Html 1895765.0 Ops/sec
Bliss Get ID 2193207.2 Ops/sec
Bliss Get Text 1987859.8 Ops/sec
jQuery Get ID 2437399.8 Ops/sec
jQuery Get Text 1410798.6 Ops/sec
jQuery Get Html 1478227.6 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