Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
Chrome 86
Windows
Desktop
4 years ago
Test name Executions per second
Vanilla Get ID 2407290.5 Ops/sec
Vanilla Get Text 1642045.1 Ops/sec
Vanilla Get Html 1048218.6 Ops/sec
jQuery Get ID 1000186.8 Ops/sec
jQuery Get Text 624004.2 Ops/sec
jQuery Get Html 609789.7 Ops/sec
Zepto Get ID 1043627.9 Ops/sec
Zepto Get Text 647594.8 Ops/sec
Zepto Get Html 967965.9 Ops/sec
Umbrella Get ID 358246.7 Ops/sec
Umbrella Get Text 265526.4 Ops/sec
Umbrella Get HTML 257309.5 Ops/sec
Bliss Get ID 1096427.4 Ops/sec
Bliss Get Text 946653.2 Ops/sec
Bliss Get HTML 785788.9 Ops/sec
Dom7 Get ID 891071.0 Ops/sec
Dom7 Get Text 706820.9 Ops/sec
Dom7 Get HTML 676155.7 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