Test name | Executions per second |
---|---|
Lodash cloneDeep | 211746.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 3634146.5 Ops/sec |
Native JSON parse | 253639.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3665148.0 Ops/sec |
Native map(shallow clone) | 7099735.5 Ops/sec |
Recursive deep clone | 210077.9 Ops/sec |
Map deep clone | 228111.6 Ops/sec |
Object.assign shallow clone | 3816485.0 Ops/sec |