Test name | Executions per second |
---|---|
Lodash cloneDeep | 152423.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 9938929.0 Ops/sec |
Native JSON parse | 279504.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 9793672.0 Ops/sec |
Native map(shallow clone) | 26754166.0 Ops/sec |
Recursive deep clone | 683728.8 Ops/sec |
Map deep clone | 688597.3 Ops/sec |
Object.assign shallow clone | 14457834.0 Ops/sec |