Test name | Executions per second |
---|---|
Lodash cloneDeep | 416879.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 5747537.0 Ops/sec |
Native JSON parse | 432865.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5777371.5 Ops/sec |
Native map(shallow clone) | 11280683.0 Ops/sec |
Recursive deep clone | 356421.6 Ops/sec |
Map deep clone | 369697.0 Ops/sec |
Object.assign shallow clone | 6326093.5 Ops/sec |