Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0
Firefox 85
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla Get ID 3919431.0 Ops/sec
Vanilla Get Text 3017915.5 Ops/sec
Vanilla Get Html 2979532.8 Ops/sec
jQuery Get ID 2514801.2 Ops/sec
jQuery Get Text 1208930.9 Ops/sec
jQuery Get Html 1227319.4 Ops/sec
Zepto Get ID 1729311.2 Ops/sec
Zepto Get Text 555629.4 Ops/sec
Zepto Get Html 525255.2 Ops/sec
Umbrella Get ID 71655.7 Ops/sec
Umbrella Get Text 111353.6 Ops/sec
Umbrella Get HTML 193221.9 Ops/sec
Bliss Get ID 954639.6 Ops/sec
Bliss Get Text 1042874.2 Ops/sec
Bliss Get HTML 571845.5 Ops/sec
Dom7 Get ID 1374733.2 Ops/sec
Dom7 Get Text 1169924.0 Ops/sec
Dom7 Get HTML 1231344.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