Closed
Description
One python method that is currently not in the pyperformance benchmarks is deepcopy
(at least not in the benchmarks that execute on my system).
Can we add a benchmark specifically for deepcopy
?
In #91610 (reimplement deepcopy
in C) there is a simple benchmarking script for deepcopy
. It is a simple execution of deepcopy
on a dict
and a dataclass
. The benchmark is really simple (not embedded program), but it is representative for the cost of deepcopy
that I encountered in larger projects.
If required, I can create a PR with a benchmark similar to the one in #91610.
Metadata
Metadata
Assignees
Labels
No labels