Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.115 Safari/537.36 OPR/88.0.4412.40
Opera 88
Windows
Desktop
2 years ago
Test name Executions per second
Vanilla Get ID 1688350.2 Ops/sec
Vanilla Get Text 930535.7 Ops/sec
Vanilla Get Html 765131.2 Ops/sec
jQuery Get ID 512288.6 Ops/sec
jQuery Get Text 312290.3 Ops/sec
jQuery Get Html 358006.2 Ops/sec
Zepto Get ID 784701.3 Ops/sec
Zepto Get Text 229211.9 Ops/sec
Zepto Get Html 414071.9 Ops/sec
Umbrella Get ID 195957.6 Ops/sec
Umbrella Get Text 155062.9 Ops/sec
Umbrella Get HTML 143317.1 Ops/sec
Bliss Get ID 548586.7 Ops/sec
Bliss Get Text 251721.3 Ops/sec
Bliss Get HTML 245323.8 Ops/sec
Dom7 Get ID 386858.5 Ops/sec
Dom7 Get Text 315944.9 Ops/sec
Dom7 Get HTML 324774.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