Test name | Executions per second |
---|---|
Lodash cloneDeep | 409983.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 5605866.0 Ops/sec |
Native JSON parse | 435334.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5611501.0 Ops/sec |
Native map(shallow clone) | 10951123.0 Ops/sec |
Recursive deep clone | 336168.0 Ops/sec |
Map deep clone | 379766.5 Ops/sec |
Object.assign shallow clone | 6017941.0 Ops/sec |