GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Benchmark suggestion: deepcopy · Issue #199 · python/pyperformance

Benchmark suggestion: deepcopy #199

New issue
Copy link
New issue
Copy link
Closed
#201
Closed
Benchmark suggestion: deepcopy#199
#201
Copy link

Description

@eendebakpt
eendebakpt
opened on May 13, 2022
Issue body actions

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.

Reacted by Eric Snow

Activity

  1. ericsnowcurrently commented on May 13, 2022

    @ericsnowcurrently
    ericsnowcurrently
    on May 13, 2022
    Member
    More actions

    I'd say give writing the benchmark a try.

  2. eendebakpt commented on May 18, 2022

    @eendebakpt
    eendebakpt
    on May 18, 2022
    ContributorAuthor
    More actions

    @ericsnowcurrently #201 is the PR for the benchmark

    Reacted by Eric Snow
  3. ericsnowcurrently
    closed this as completedin #201on Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.