Test name | Executions per second |
---|---|
Lodash cloneDeep | 311308.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 13857406.0 Ops/sec |
Native JSON parse | 464509.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 13133275.0 Ops/sec |
Native map(shallow clone) | 42497256.0 Ops/sec |
Recursive deep clone | 2508881.0 Ops/sec |
Map deep clone | 2642091.0 Ops/sec |
Object.assign shallow clone | 22847096.0 Ops/sec |