Test name | Executions per second |
---|---|
Lodash cloneDeep | 430950.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 6084505.5 Ops/sec |
Native JSON parse | 445839.6 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6107756.0 Ops/sec |
Native map(shallow clone) | 11918376.0 Ops/sec |
Recursive deep clone | 379518.6 Ops/sec |
Map deep clone | 421324.8 Ops/sec |
Object.assign shallow clone | 6555027.0 Ops/sec |