Test name | Executions per second |
---|---|
Lodash cloneDeep | 210302.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 3218983.5 Ops/sec |
Native JSON parse | 207237.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3254061.0 Ops/sec |
Native map(shallow clone) | 6229584.0 Ops/sec |
Recursive deep clone | 206421.1 Ops/sec |
Map deep clone | 223748.6 Ops/sec |
Object.assign shallow clone | 3352509.5 Ops/sec |