Test name | Executions per second |
---|---|
Lodash cloneDeep | 403606.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 5492471.0 Ops/sec |
Native JSON parse | 409930.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5489553.0 Ops/sec |
Native map(shallow clone) | 10823587.0 Ops/sec |
Recursive deep clone | 332341.4 Ops/sec |
Map deep clone | 371687.9 Ops/sec |
Object.assign shallow clone | 6002968.5 Ops/sec |