Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36
Chrome 88
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 3654846.5 Ops/sec
Vanilla Get Text 3034983.5 Ops/sec
Vanilla Get Html 2524643.8 Ops/sec
jQuery Get ID 1900091.9 Ops/sec
jQuery Get Text 1280865.9 Ops/sec
jQuery Get Html 1396629.4 Ops/sec
Zepto Get ID 2101881.8 Ops/sec
Zepto Get Text 1014158.8 Ops/sec
Zepto Get Html 1535882.9 Ops/sec
Umbrella Get ID 598256.4 Ops/sec
Umbrella Get Text 536103.4 Ops/sec
Umbrella Get HTML 498430.8 Ops/sec
Bliss Get ID 1715778.5 Ops/sec
Bliss Get Text 1530887.5 Ops/sec
Bliss Get HTML 1344210.8 Ops/sec
Dom7 Get ID 1596112.0 Ops/sec
Dom7 Get Text 1382828.5 Ops/sec
Dom7 Get HTML 1274888.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