MCPcopy Create free account
hub / github.com/python/mypy / report

Function report

misc/perf_checker.py:59–64  ·  view source on GitHub ↗
(name: str, times: list[float])

Source from the content-addressed store, hash-verified

57
58
59def report(name: str, times: list[float]) -> None:
60 print(f"{name}:")
61 print(f" Times: {times}")
62 print(f" Mean: {statistics.mean(times)}")
63 print(f" Stdev: {statistics.stdev(times)}")
64 print()
65
66
67def main() -> None:

Callers 1

mainFunction · 0.70

Calls 1

printFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…