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 4739681.0 Ops/sec
Vanilla Get Text 3547111.8 Ops/sec
Vanilla Get Html 3562638.2 Ops/sec
jQuery Get ID 3669692.0 Ops/sec
jQuery Get Text 1776281.9 Ops/sec
jQuery Get Html 1534926.1 Ops/sec
Zepto Get ID 2805573.5 Ops/sec
Zepto Get Text 926815.6 Ops/sec
Zepto Get Html 1586560.4 Ops/sec
Umbrella Get ID 337181.4 Ops/sec
Umbrella Get Text 321416.3 Ops/sec
Umbrella Get HTML 307922.5 Ops/sec
Bliss Get ID 1739972.6 Ops/sec
Bliss Get Text 1768976.4 Ops/sec
Bliss Get HTML 1706613.9 Ops/sec
Dom7 Get ID 1838061.1 Ops/sec
Dom7 Get Text 1383238.5 Ops/sec
Dom7 Get HTML 1301679.5 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