Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36 Edg/85.0.564.60
Chrome 85
Mac OS X 10.15.6
Desktop
4 years ago
Test name Executions per second
Vanilla Get ID 2113543.5 Ops/sec
Vanilla Get Text 1785137.1 Ops/sec
Vanilla Get Html 1248087.1 Ops/sec
jQuery Get ID 853349.1 Ops/sec
jQuery Get Text 470191.1 Ops/sec
jQuery Get Html 476723.0 Ops/sec
Zepto Get ID 1036493.2 Ops/sec
Zepto Get Text 301886.6 Ops/sec
Zepto Get Html 542404.9 Ops/sec
Umbrella Get ID 235674.7 Ops/sec
Umbrella Get Text 199361.5 Ops/sec
Umbrella Get HTML 184541.8 Ops/sec
Bliss Get ID 847763.6 Ops/sec
Bliss Get Text 658042.2 Ops/sec
Bliss Get HTML 517653.4 Ops/sec
Dom7 Get ID 622442.9 Ops/sec
Dom7 Get Text 516223.5 Ops/sec
Dom7 Get HTML 402804.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