Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36 Edg/84.0.522.44
Chrome 84
Windows
Desktop
4 years ago
Test name Executions per second
Vanilla Get ID 2046239.2 Ops/sec
Vanilla Get Text 1966284.4 Ops/sec
Vanilla Get Html 1484828.9 Ops/sec
jQuery Get ID 682621.9 Ops/sec
jQuery Get Text 598954.6 Ops/sec
jQuery Get Html 857085.4 Ops/sec
Zepto Get ID 885624.4 Ops/sec
Zepto Get Text 230162.2 Ops/sec
Zepto Get Html 917832.4 Ops/sec
Umbrella Get ID 312987.7 Ops/sec
Umbrella Get Text 348040.7 Ops/sec
Umbrella Get HTML 234105.6 Ops/sec
Bliss Get ID 1062869.4 Ops/sec
Bliss Get Text 895837.6 Ops/sec
Bliss Get HTML 565282.0 Ops/sec
Dom7 Get ID 1028541.6 Ops/sec
Dom7 Get Text 876677.1 Ops/sec
Dom7 Get HTML 778427.6 Ops/sec
HTML Preparation code:
Tests:
  • Vanilla Get ID

  • Dom7 Get ID

  • Bliss Get HTML

  • Bliss Get Text

  • Bliss Get ID

  • Umbrella Get HTML

  • Umbrella Get Text

  • Umbrella Get ID

  • Zepto Get Html

  • Zepto Get Text

  • Zepto Get ID

  • jQuery Get Html

  • jQuery Get Text

  • jQuery Get ID

  • Vanilla Get Html

  • Vanilla Get Text

  • Dom7 Get Text

  • Dom7 Get HTML