Test name | Executions per second |
---|---|
Lodash cloneDeep | 169150.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 2393969.0 Ops/sec |
Native JSON parse | 195616.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2434801.8 Ops/sec |
Native map(shallow clone) | 4714898.0 Ops/sec |
Recursive deep clone | 144013.9 Ops/sec |
Map deep clone | 157916.2 Ops/sec |
Object.assign shallow clone | 2600696.0 Ops/sec |