Test name | Executions per second |
---|---|
Lodash cloneDeep | 141418.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 1806907.1 Ops/sec |
Native JSON parse | 162883.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1872121.9 Ops/sec |
Native map(shallow clone) | 3670310.2 Ops/sec |
Recursive deep clone | 118500.2 Ops/sec |
Map deep clone | 130216.3 Ops/sec |
Object.assign shallow clone | 2161582.0 Ops/sec |