Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
Chrome 70
Mac OS X 10.13.6
Desktop
6 years ago
Test name Executions per second
Vanilla Get ID 3640512.2 Ops/sec
Vanilla Get Text 3028760.8 Ops/sec
Vanilla Get Html 1749460.1 Ops/sec
jQuery Get ID 1269005.8 Ops/sec
jQuery Get Text 837914.9 Ops/sec
jQuery Get Html 664266.0 Ops/sec
Zepto Get ID 1331444.1 Ops/sec
Zepto Get Text 334259.5 Ops/sec
Zepto Get Html 672440.9 Ops/sec
Umbrella Get ID 262881.0 Ops/sec
Umbrella Get Text 261703.8 Ops/sec
Umbrella Get HTML 223893.5 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