Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
Chrome 70
Mac OS X 10.13.6
Desktop
6 years ago
Test name Executions per second
jQuery Get ID 1211218.4 Ops/sec
jQuery Get Text 835932.0 Ops/sec
jQuery Get Html 617805.9 Ops/sec
Zepto Get ID 1368818.1 Ops/sec
Zepto Get Text 376015.4 Ops/sec
Zepto Get Html 629569.1 Ops/sec
Vanilla Get ID 3727877.8 Ops/sec
Vanilla Get Text 3096299.0 Ops/sec
Vanilla Get Html 1855295.0 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


;