Skip to content

time.perf_counter() should state more clearly (or deny) that it is monotonic #115637

Open
@anarcat

Description

@anarcat

Documentation

I was trying to figure out the distinction between perf_counter and monotonic, and it's not entirely clear to me, even after reading PEP 418. I think it is monotonic, but I'm not sure.

So I'm invoking the Python gods here: what's the actual wanted behavior here? And why isn't it more clearly stated in the docs?

Thanks!

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions