Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36 Edg/87.0.664.52
Chrome 87
Windows
Desktop
4 years ago
Test name Executions per second
Vanilla Get ID 2115491.2 Ops/sec
Vanilla Get Text 1861493.8 Ops/sec
Vanilla Get Html 1580354.9 Ops/sec
jQuery Get ID 1174626.5 Ops/sec
jQuery Get Text 775515.0 Ops/sec
jQuery Get Html 814302.8 Ops/sec
Zepto Get ID 1197666.2 Ops/sec
Zepto Get Text 537536.7 Ops/sec
Zepto Get Html 888816.6 Ops/sec
Umbrella Get ID 302614.4 Ops/sec
Umbrella Get Text 276647.5 Ops/sec
Umbrella Get HTML 281079.6 Ops/sec
Bliss Get ID 1031028.8 Ops/sec
Bliss Get Text 900104.6 Ops/sec
Bliss Get HTML 830232.2 Ops/sec
Dom7 Get ID 898359.9 Ops/sec
Dom7 Get Text 754659.6 Ops/sec
Dom7 Get HTML 719267.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