Skip to content

3.11: Performance regression in ctypes #92356

Closed

Description

@mdboom

Bug report

There is an approximately 8% performance regression in function call overhead in ctypes in py3.11.0a7 vs. py3.10.4. On my machine, 280 ns/call vs. 235 ns/call.

Gist to reproduce.

Additional context in faster-cpython/ideas#370.

Your environment

Both Python versions built from source with pgo on Fedora Linux 36, x86_64.

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    on May 5, 2022
  2. added a commit that references this issue on May 5, 2022
  3. added a commit that references this issue on May 6, 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

    performancePerformance or resource usagetopic-ctypestype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions