Skip to content

ENH: improve Timer() context manager (enable multiple runs) #793

@mmcky

Description

@mmcky

We should update the qe.Timer context manager to enable multiple runs as an option adding runs= and looping over the context timing each run. The default behaviour is a simple timer, but if runs=3 we should calculate: minimum, maximum, average, and elapsed time would be a list of times.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions