Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 OPR/73.0.3856.344
Opera 73
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 2329508.5 Ops/sec
Vanilla Get Text 1765828.6 Ops/sec
Vanilla Get Html 1376095.8 Ops/sec
jQuery Get ID 640685.6 Ops/sec
jQuery Get Text 412313.8 Ops/sec
jQuery Get Html 394870.1 Ops/sec
Zepto Get ID 853565.4 Ops/sec
Zepto Get Text 270683.9 Ops/sec
Zepto Get Html 513732.8 Ops/sec
Umbrella Get ID 225349.3 Ops/sec
Umbrella Get Text 209532.8 Ops/sec
Umbrella Get HTML 191774.3 Ops/sec
Bliss Get ID 824574.1 Ops/sec
Bliss Get Text 626296.7 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