Performance monitoring¶
from alexandria3k import perf
Maintain and output time performance values.
- perf.log(message)¶
Print the specified performance message and times. This will output the relative elapsed time from the previous output, the absolute time since the program’s start, and the specified message.
To obtain performance output messages you need to enable the corresponding debug flag.
debug.enable_flags(["perf"]).
- Parameters
message (str) – Message to output