Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
Firefox 95
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 5428132.5 Ops/sec
Vanilla Get Text 4150178.8 Ops/sec
Vanilla Get Html 4274435.5 Ops/sec
jQuery Get ID 4534060.0 Ops/sec
jQuery Get Text 2128243.2 Ops/sec
jQuery Get Html 2020542.1 Ops/sec
Zepto Get ID 3066649.0 Ops/sec
Zepto Get Text 1055808.9 Ops/sec
Zepto Get Html 1763354.8 Ops/sec
Umbrella Get ID 393246.3 Ops/sec
Umbrella Get Text 379590.7 Ops/sec
Umbrella Get HTML 354933.7 Ops/sec
Bliss Get ID 2051028.2 Ops/sec
Bliss Get Text 2039341.5 Ops/sec
Bliss Get HTML 2081630.0 Ops/sec
Dom7 Get ID 2265177.5 Ops/sec
Dom7 Get Text 1788227.5 Ops/sec
Dom7 Get HTML 1676043.1 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