Test name | Executions per second |
---|---|
Lodash cloneDeep | 86308.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 1125777.4 Ops/sec |
Native JSON parse | 84924.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 918796.2 Ops/sec |
Native map(shallow clone) | 2093518.2 Ops/sec |
Recursive deep clone | 62932.0 Ops/sec |
Map deep clone | 72430.2 Ops/sec |
Object.assign shallow clone | 1205555.5 Ops/sec |