Test name | Executions per second |
---|---|
Lodash cloneDeep | 192687.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 2372986.2 Ops/sec |
Native JSON parse | 202043.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2373650.5 Ops/sec |
Native map(shallow clone) | 4439844.5 Ops/sec |
Recursive deep clone | 148599.8 Ops/sec |
Map deep clone | 161366.1 Ops/sec |
Object.assign shallow clone | 2658577.0 Ops/sec |