Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36
Chrome 70
Mac OS X 10.13.6
Desktop
5 years ago
Test name Executions per second
jQuery direct extend 4273.2 Ops/sec
jQuery extend assignment 3281.8 Ops/sec
Lodash cloneDeep 3331.6 Ops/sec
JSON parse and stringify 1120.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery direct extend

  • jQuery extend assignment

  • Lodash cloneDeep

  • JSON parse and stringify