Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 OPR/69.0.3686.77
Opera 69
Windows
Desktop
4 years ago
Test name Executions per second
Vanilla Get ID 1845797.1 Ops/sec
Vanilla Get Text 1434333.6 Ops/sec
Vanilla Get Html 1018257.0 Ops/sec
jQuery Get ID 719650.2 Ops/sec
jQuery Get Text 431205.8 Ops/sec
jQuery Get Html 395882.4 Ops/sec
Zepto Get ID 742967.4 Ops/sec
Zepto Get Text 282544.7 Ops/sec
Zepto Get Html 424038.9 Ops/sec
Umbrella Get ID 231675.4 Ops/sec
Umbrella Get Text 200960.1 Ops/sec
Umbrella Get HTML 187582.3 Ops/sec
Bliss Get ID 753017.4 Ops/sec
Bliss Get Text 648764.9 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