Test name | Executions per second |
---|---|
Lodash cloneDeep | 422185.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 5479957.0 Ops/sec |
Native JSON parse | 445088.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5462602.5 Ops/sec |
Native map(shallow clone) | 10855879.0 Ops/sec |
Recursive deep clone | 331957.2 Ops/sec |
Map deep clone | 371728.0 Ops/sec |
Object.assign shallow clone | 6043324.5 Ops/sec |