Dump timing stats for each file in the given graph.
(path: str, graph: Graph)
| 4194 | |
| 4195 | |
| 4196 | def dump_timing_stats(path: str, graph: Graph) -> None: |
| 4197 | """Dump timing stats for each file in the given graph.""" |
| 4198 | with open(path, "w") as f: |
| 4199 | for id in sorted(graph): |
| 4200 | f.write(f"{id} {graph[id].time_spent_us}\n") |
| 4201 | |
| 4202 | |
| 4203 | def dump_line_checking_stats(path: str, graph: Graph) -> None: |
no test coverage detected
searching dependent graphs…