Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; Chromium GOST) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Windows
Desktop
8 months ago
Test name Executions per second
jQuery Get ID 893209.2 Ops/sec
jQuery Get Text 532608.6 Ops/sec
jQuery Get Html 628996.9 Ops/sec
Zepto Get ID 954478.3 Ops/sec
Zepto Get Text 385304.6 Ops/sec
Zepto Get Html 711373.1 Ops/sec
Vanilla Get ID 3720919.0 Ops/sec
Vanilla Get Text 1495253.8 Ops/sec
Vanilla Get Html 1356118.6 Ops/sec
HTML Preparation code:
Tests:
  • jQuery Get ID

  • jQuery Get Text

  • jQuery Get Html

  • Zepto Get ID

  • Zepto Get Text

  • Zepto Get Html

  • Vanilla Get ID

  • Vanilla Get Text

  • Vanilla Get Html


;