Test name | Executions per second |
---|---|
Lodash cloneDeep | 135578.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 1744317.0 Ops/sec |
Native JSON parse | 157465.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1943171.9 Ops/sec |
Native map(shallow clone) | 3229791.2 Ops/sec |
Recursive deep clone | 149315.1 Ops/sec |
Map deep clone | 161177.0 Ops/sec |
Object.assign shallow clone | 2341686.8 Ops/sec |