Test name | Executions per second |
---|---|
Lodash cloneDeep | 54569.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 5261528.5 Ops/sec |
Native JSON parse | 129977.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5264121.0 Ops/sec |
Native map(shallow clone) | 11274580.0 Ops/sec |
Recursive deep clone | 281986.3 Ops/sec |
Map deep clone | 282211.7 Ops/sec |
Object.assign shallow clone | 6125828.5 Ops/sec |