Test name | Executions per second |
---|---|
Lodash cloneDeep | 229538.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 3095518.0 Ops/sec |
Native JSON parse | 249156.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3101427.8 Ops/sec |
Native map(shallow clone) | 5279483.0 Ops/sec |
Recursive deep clone | 187544.7 Ops/sec |
Map deep clone | 193900.1 Ops/sec |
Object.assign shallow clone | 3030897.2 Ops/sec |