Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78
Linux
Desktop
4 years ago
Test name Executions per second
Vanilla Get ID 4316218.0 Ops/sec
Vanilla Get Text 3127227.2 Ops/sec
Vanilla Get Html 3347706.0 Ops/sec
Cash Get ID 5101946.5 Ops/sec
Cash Get Text 3571238.0 Ops/sec
Cash Get Html 5098131.5 Ops/sec
jQuery Get ID 5400323.0 Ops/sec
jQuery Get Text 2739038.8 Ops/sec
jQuery Get Html 2393732.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