Test name | Executions per second |
---|---|
Lodash cloneDeep | 132011.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 2097368.0 Ops/sec |
Native JSON parse | 163135.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2321455.5 Ops/sec |
Native map(shallow clone) | 3372288.2 Ops/sec |
Recursive deep clone | 128049.8 Ops/sec |
Map deep clone | 147323.0 Ops/sec |
Object.assign shallow clone | 1344921.0 Ops/sec |