Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
Chrome 72
Windows
Desktop
5 years ago
Test name Executions per second
Vanilla Get ID 3180883.2 Ops/sec
Vanilla Get Text 2517232.5 Ops/sec
Vanilla Get Html 1608070.2 Ops/sec
jQuery Get ID 1301103.0 Ops/sec
jQuery Get Text 888333.7 Ops/sec
jQuery Get Html 830713.5 Ops/sec
Zepto Get ID 1446499.8 Ops/sec
Zepto Get Text 542597.7 Ops/sec
Zepto Get Html 897023.9 Ops/sec
Umbrella Get ID 345662.3 Ops/sec
Umbrella Get Text 301118.4 Ops/sec
Umbrella Get HTML 258227.7 Ops/sec
Bliss Get ID 1357969.1 Ops/sec
Bliss Get Text 1200487.1 Ops/sec
HTML Preparation code:
Tests:
  • Vanilla Get ID

  • Vanilla Get Text

  • Vanilla Get Html

  • jQuery Get ID

  • jQuery Get Text

  • jQuery Get Html

  • Zepto Get ID

  • Zepto Get Text

  • Zepto Get Html

  • Umbrella Get ID

  • Umbrella Get Text

  • Umbrella Get HTML

  • Bliss Get ID

  • Bliss Get Text