Tests:
-
_.cloneDeep()
-
AngularJS copy
-
JSON.parse
-
immer.produce()
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118 on Mac OS X 10.15.7
View result in a separate tab
View exact numbers
| Test name |
Executions per second |
|
✓
immer.produce()
|
650,972 Ops/sec |
|
JSON.parse
|
88 Ops/sec |
|
_.cloneDeep()
|
38 Ops/sec |
|
AngularJS copy
|
3 Ops/sec |
Do you really want to delete benchmark?