Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Chrome 69
Windows
Desktop
6 years ago
Test name Executions per second
jQuery Get ID 1630194.1 Ops/sec
jQuery Get Text 1184360.9 Ops/sec
jQuery Get Html 1025529.2 Ops/sec
Zepto Get ID 1676260.2 Ops/sec
Zepto Get Text 810678.8 Ops/sec
Zepto Get Html 1095349.1 Ops/sec
Vanilla Get ID 4142938.8 Ops/sec
Vanilla Get Text 3493441.2 Ops/sec
Vanilla Get Html 2034666.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


;