FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Benchmark suggestion: deepcopy · Issue #199 · python/pyperformance · GitHub

Benchmark suggestion: deepcopy #199

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL