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
Chrome 87
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 2704080.5 Ops/sec
Vanilla Get Text 2223837.8 Ops/sec
Vanilla Get Html 1905715.8 Ops/sec
jQuery Get ID 1415194.1 Ops/sec
jQuery Get Text 955937.6 Ops/sec
jQuery Get Html 1045546.3 Ops/sec
Zepto Get ID 1553642.6 Ops/sec
Zepto Get Text 739671.0 Ops/sec
Zepto Get Html 1144092.4 Ops/sec
Umbrella Get ID 410781.3 Ops/sec
Umbrella Get Text 375149.2 Ops/sec
Umbrella Get HTML 360690.2 Ops/sec
Bliss Get ID 1232816.6 Ops/sec
Bliss Get Text 1106287.9 Ops/sec
Bliss Get HTML 997845.2 Ops/sec
Dom7 Get ID 1094545.6 Ops/sec
Dom7 Get Text 966326.6 Ops/sec
Dom7 Get HTML 914648.2 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