Test name | Executions per second |
---|---|
Lodash cloneDeep | 26088.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 751307.1 Ops/sec |
Native JSON parse | 62703.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 916708.2 Ops/sec |
Native map(shallow clone) | 1540253.9 Ops/sec |
Recursive deep clone | 57940.7 Ops/sec |
Map deep clone | 62589.6 Ops/sec |
Object.assign shallow clone | 1000760.6 Ops/sec |