Test name | Executions per second |
---|---|
Lodash cloneDeep | 239193.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 3739011.0 Ops/sec |
Native JSON parse | 340950.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2792585.8 Ops/sec |
Native map(shallow clone) | 6207021.5 Ops/sec |
Recursive deep clone | 294153.7 Ops/sec |
Map deep clone | 308033.7 Ops/sec |
Object.assign shallow clone | 4041862.0 Ops/sec |