Skip to content

Need benchmark using __getattribute__ #315

Open
@gvanrossum

Description

@gvanrossum

It would be nice if there was a benchmark that exercised __getattribute__ somewhat realistically. Defining that method is the only way to exercise the specialized instruction LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN. Then again, maybe that method is not important enough to have its own specialized opcode?

See also python/cpython#93988 (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