Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36
Chrome 86
Windows
Desktop
4 years ago
Test name Executions per second
Vanilla Get ID 2713664.8 Ops/sec
Vanilla Get Text 2137213.2 Ops/sec
Vanilla Get Html 1348139.9 Ops/sec
jQuery Get ID 1210917.5 Ops/sec
jQuery Get Text 754663.6 Ops/sec
jQuery Get Html 836564.2 Ops/sec
Zepto Get ID 1354753.1 Ops/sec
Zepto Get Text 700705.2 Ops/sec
Zepto Get Html 882010.8 Ops/sec
Umbrella Get ID 334279.1 Ops/sec
Umbrella Get Text 358406.6 Ops/sec
Umbrella Get HTML 329446.4 Ops/sec
Bliss Get ID 1210667.8 Ops/sec
Bliss Get Text 1083733.2 Ops/sec
Bliss Get HTML 866124.6 Ops/sec
Dom7 Get ID 1067204.4 Ops/sec
Dom7 Get Text 915196.1 Ops/sec
Dom7 Get HTML 769644.6 Ops/sec
HTML Preparation code:
Tests:
  • Vanilla Get ID

  • Dom7 Get ID

  • Bliss Get HTML

  • Bliss Get Text

  • Bliss Get ID

  • Umbrella Get HTML

  • Umbrella Get Text

  • Umbrella Get ID

  • Zepto Get Html

  • Zepto Get Text

  • Zepto Get ID

  • jQuery Get Html

  • jQuery Get Text

  • jQuery Get ID

  • Vanilla Get Html

  • Vanilla Get Text

  • Dom7 Get Text

  • Dom7 Get HTML