Skip to content

Let me share my timeit module. #142003

@YagaoDirac

Description

@YagaoDirac

Feature or enhancement

Proposal:

now the timeit feature provides the total time (n=1000000), and accept str.
my version: https://github.com/YagaoDirac/Pytorch-extension-from-YagaoDirac-v2/blob/main/pytorch_yagaodirac_v2/timeit_yagaodirac.py
The interface is different. So it's a bc breaking. It's also easy to use.
According to my test, the result is reasonable and probably a bit more accurate. (vs code, py 3.13, no error no warning from mypy)

I don't know these licence. Anyway, feel free to do anything with my code.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions