Skip to content

use argument clinic for more socket functions #135748

Description

@kumaraditya303

Some methods of socket still uses VARARGS calling convention which is slow, AC can be used to simplify arg parsing as well as speed up the arg parsing. This is important for asyncio as it heavily calls these API.

This shows up in asyncio flame graphs as well:

Image

Linked PRs

Activity

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

    extension-modulesC modules in the Modules dirperformancePerformance or resource usagetopic-argument-clinictopic-socketRelated to the socket, socketserver and selectors modulestype-refactorCode refactoring (with no changes in behavior)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions