Module zut.perf

Track elapsed time and memory consumption (requires zut[perf] extra: psutil).

Functions

get_perf_info(-> ~zut.perf.PerfInfo)

log_perf_elapsed(start, *[, prefix, level])

track_perf(...)

A decorator to track performance of a function.

Classes

PerfInfo(time, memory)