Test name | Executions per second |
---|---|
Lodash cloneDeep | 145890.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 1904238.1 Ops/sec |
Native JSON parse | 166501.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1906757.8 Ops/sec |
Native map(shallow clone) | 3667192.0 Ops/sec |
Recursive deep clone | 124494.3 Ops/sec |
Map deep clone | 133684.7 Ops/sec |
Object.assign shallow clone | 2123289.2 Ops/sec |