Content-Length: 263451 | pFad | https://github.com/python/cpython/issues/92356

3C 3.11: Performance regression in ctypes · Issue #92356 · python/cpython · GitHub
Skip to content

3.11: Performance regression in ctypes #92356

@mdboom

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.

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









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/92356

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy