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 OPR/82.0.4227.58
Opera 82
Windows
Desktop
2 years ago
Test name Executions per second
Vanilla Get ID 2199126.8 Ops/sec
Vanilla Get Text 1474681.5 Ops/sec
Vanilla Get Html 1550243.1 Ops/sec
jQuery Get ID 1146594.0 Ops/sec
jQuery Get Text 714590.6 Ops/sec
jQuery Get Html 827120.0 Ops/sec
Zepto Get ID 1284584.2 Ops/sec
Zepto Get Text 583946.2 Ops/sec
Zepto Get Html 852295.9 Ops/sec
Umbrella Get ID 358418.1 Ops/sec
Umbrella Get Text 317297.2 Ops/sec
Umbrella Get HTML 310803.9 Ops/sec
Bliss Get ID 996745.5 Ops/sec
Bliss Get Text 736553.2 Ops/sec
Bliss Get HTML 450951.1 Ops/sec
Dom7 Get ID 777695.4 Ops/sec
Dom7 Get Text 483162.8 Ops/sec
Dom7 Get HTML 475539.2 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