Test name | Executions per second |
---|---|
Lodash cloneDeep | 168651.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 2296760.8 Ops/sec |
Native JSON parse | 151338.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2307119.8 Ops/sec |
Native map(shallow clone) | 4316296.0 Ops/sec |
Recursive deep clone | 136328.6 Ops/sec |
Map deep clone | 149311.6 Ops/sec |
Object.assign shallow clone | 2350567.5 Ops/sec |