You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
deepcopyin C) there is a simple benchmarking script fordeepcopy. It is a simple execution ofdeepcopyon adictand adataclass. The benchmark is really simple (not embedded program), but it is representative for the cost ofdeepcopythat I encountered in larger projects.If required, I can create a PR with a benchmark similar to the one in #91610.