Test name | Executions per second |
---|---|
Lodash cloneDeep | 441833.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 6281346.0 Ops/sec |
Native JSON parse | 537398.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6349744.5 Ops/sec |
Native map(shallow clone) | 12050532.0 Ops/sec |
Recursive deep clone | 403202.9 Ops/sec |
Map deep clone | 447180.4 Ops/sec |
Object.assign shallow clone | 7174451.0 Ops/sec |