Skip to content

Feature idea: Check which function is faster #283

@PallHaraldsson

Description

@PallHaraldsson

I use @btime (and hypertime) to time, looking for the minimum time.

They both take some time, longer than @time which isn't reliable.

I was thinking would it be valuable to run task A, task B, A, B, etc. to see which is faster? Or because of cache, maybe A, A, .. A, B, B, ...B, and maybe again A..., B...?

Often I don't really care about the exact minimum value, I just care which is faster since I'm optimizing, and figure it might need way fewer runs, still statistically significant.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions