Test name | Executions per second |
---|---|
Lodash cloneDeep | 181222.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 12175231.0 Ops/sec |
Native JSON parse | 361479.6 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 12179552.0 Ops/sec |
Native map(shallow clone) | 34375724.0 Ops/sec |
Recursive deep clone | 884010.2 Ops/sec |
Map deep clone | 888212.6 Ops/sec |
Object.assign shallow clone | 14153055.0 Ops/sec |