Test name | Executions per second |
---|---|
Lodash cloneDeep | 221686.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 2740791.8 Ops/sec |
Native JSON parse | 240759.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2735410.5 Ops/sec |
Native map(shallow clone) | 4955828.5 Ops/sec |
Recursive deep clone | 172533.8 Ops/sec |
Map deep clone | 189622.9 Ops/sec |
Object.assign shallow clone | 2796739.5 Ops/sec |