Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
Chrome 96
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 3013882.2 Ops/sec
Vanilla Get Text 1795115.2 Ops/sec
Vanilla Get Html 1948361.0 Ops/sec
jQuery Get ID 1199907.4 Ops/sec
jQuery Get Text 777394.2 Ops/sec
jQuery Get Html 1089818.4 Ops/sec
Zepto Get ID 1573699.1 Ops/sec
Zepto Get Text 671743.9 Ops/sec
Zepto Get Html 1142760.0 Ops/sec
Umbrella Get ID 437478.3 Ops/sec
Umbrella Get Text 374544.5 Ops/sec
Umbrella Get HTML 350751.8 Ops/sec
Bliss Get ID 1274595.9 Ops/sec
Bliss Get Text 967948.8 Ops/sec
Bliss Get HTML 1054247.9 Ops/sec
Dom7 Get ID 1171549.9 Ops/sec
Dom7 Get Text 880748.7 Ops/sec
Dom7 Get HTML 957342.0 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