Test name | Executions per second |
---|---|
Lodash cloneDeep | 69431.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 1173821.9 Ops/sec |
Native JSON parse | 86084.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1155957.4 Ops/sec |
Native map(shallow clone) | 2837644.2 Ops/sec |
Recursive deep clone | 105440.3 Ops/sec |
Map deep clone | 104648.7 Ops/sec |
Object.assign shallow clone | 1299776.9 Ops/sec |