Test name | Executions per second |
---|---|
Lodash cloneDeep | 191855.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 2669045.2 Ops/sec |
Native JSON parse | 201757.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2502300.5 Ops/sec |
Native map(shallow clone) | 4449350.0 Ops/sec |
Recursive deep clone | 164421.3 Ops/sec |
Map deep clone | 142417.6 Ops/sec |
Object.assign shallow clone | 2705889.2 Ops/sec |