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 3694824.0 Ops/sec
Vanilla Get Text 3028831.2 Ops/sec
Vanilla Get Html 1754187.5 Ops/sec
jQuery Get ID 1253823.6 Ops/sec
jQuery Get Text 851162.8 Ops/sec
jQuery Get Html 658960.5 Ops/sec
Zepto Get ID 1198486.1 Ops/sec
Zepto Get Text 335648.0 Ops/sec
Zepto Get Html 618008.9 Ops/sec
Umbrella Get ID 272385.4 Ops/sec
Umbrella Get Text 265777.4 Ops/sec
Umbrella Get HTML 225149.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