Skip to content

Enable accessing elapsed time or peak memory in code #1

Description

@jamesWalczak

At the moment profiling results are displayed or saved to file but it'd be extremely useful to be able to take the results from within the program, like by assigning to some variable, e.g.

with timer() as t:
    ....

print(t.elapsed_time)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions