Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36
Chrome 87
Windows
Desktop
4 years ago
Test name Executions per second
Vanilla Get ID 2584880.0 Ops/sec
Vanilla Get Text 2134138.0 Ops/sec
Vanilla Get Html 1861311.4 Ops/sec
jQuery Get ID 1385763.0 Ops/sec
jQuery Get Text 920314.4 Ops/sec
jQuery Get Html 973370.0 Ops/sec
Zepto Get ID 1545412.2 Ops/sec
Zepto Get Text 730214.7 Ops/sec
Zepto Get Html 1094086.0 Ops/sec
Umbrella Get ID 390772.2 Ops/sec
Umbrella Get Text 365431.8 Ops/sec
Umbrella Get HTML 343935.0 Ops/sec
Bliss Get ID 1258759.6 Ops/sec
Bliss Get Text 1112101.6 Ops/sec
Bliss Get HTML 1005493.7 Ops/sec
Dom7 Get ID 1084549.0 Ops/sec
Dom7 Get Text 965830.8 Ops/sec
Dom7 Get HTML 886808.9 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