Test case name | Result |
---|---|
_.cloneDeep(mockObject); | |
jQuery.extend(true, {}, mockObject); | |
_.extend({}, mockObject); | |
jQuery.extend({}, mockObject); |
Test name | Executions per second |
---|---|
_.cloneDeep(mockObject); | 115250.0 Ops/sec |
jQuery.extend(true, {}, mockObject); | 123312.1 Ops/sec |
_.extend({}, mockObject); | 1027216.1 Ops/sec |
jQuery.extend({}, mockObject); | 1169620.5 Ops/sec |