Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Chrome 95
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 4394201.0 Ops/sec
Vanilla Get Text 2680890.2 Ops/sec
Vanilla Get Html 2903426.8 Ops/sec
jQuery Get ID 2120153.5 Ops/sec
jQuery Get Text 1225939.5 Ops/sec
jQuery Get Html 1602848.8 Ops/sec
Zepto Get ID 2320942.8 Ops/sec
Zepto Get Text 1015256.1 Ops/sec
Zepto Get Html 1761824.5 Ops/sec
Umbrella Get ID 613812.8 Ops/sec
Umbrella Get Text 535159.9 Ops/sec
Umbrella Get HTML 543360.5 Ops/sec
Bliss Get ID 1853791.0 Ops/sec
Bliss Get Text 1495889.1 Ops/sec
Bliss Get HTML 1501547.9 Ops/sec
Dom7 Get ID 1759578.2 Ops/sec
Dom7 Get Text 1340155.2 Ops/sec
Dom7 Get HTML 1437934.9 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