bundle.perf_report.report.cprofile ================================== .. py:module:: bundle.perf_report.report.cprofile .. autoapi-nested-parse:: cProfile-based performance report: per-test .prof files with call trees. Functions --------- .. autoapisummary:: bundle.perf_report.report.cprofile.format_label bundle.perf_report.report.cprofile.func_key bundle.perf_report.report.cprofile.build_func_map bundle.perf_report.report.cprofile.generate_plot bundle.perf_report.report.cprofile.build_section bundle.perf_report.report.cprofile.generate_report Module Contents --------------- .. py:function:: format_label(rec: bundle.perf_report.extractor.CProfileRecord) -> str .. py:function:: func_key(rec: bundle.perf_report.extractor.CProfileRecord) -> str .. py:function:: build_func_map(profiles: list[bundle.perf_report.extractor.CProfileData]) -> dict[str, dict[str, bundle.perf_report.extractor.CProfileRecord]] .. py:function:: generate_plot(profile: bundle.perf_report.extractor.CProfileData, plot_dir: pathlib.Path, baseline_func_map: dict[str, bundle.perf_report.extractor.CProfileRecord] | None = None) -> pathlib.Path .. py:function:: build_section(profile: bundle.perf_report.extractor.CProfileData, plot_path: pathlib.Path, baseline_func_map: dict[str, bundle.perf_report.extractor.CProfileRecord] | None = None) -> bundle.latex.Section .. py:function:: generate_report(input_path: pathlib.Path, output_path: pathlib.Path, h5_path: pathlib.Path | None) :async: Generate a performance report from .prof files.