Test name | Executions per second |
---|---|
Lodash cloneDeep | 116678.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 10410710.0 Ops/sec |
Native JSON parse | 241274.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 10428703.0 Ops/sec |
Native map(shallow clone) | 36943804.0 Ops/sec |
Recursive deep clone | 820394.6 Ops/sec |
Map deep clone | 493645.8 Ops/sec |
Object.assign shallow clone | 15534960.0 Ops/sec |