bundle.perf_report.report.cprofile¶
cProfile-based performance report: per-test .prof files with call trees.
Functions¶
|
|
|
|
|
|
|
|
|
|
|
Generate a performance report from .prof files. |
Module Contents¶
- bundle.perf_report.report.cprofile.format_label(rec: bundle.perf_report.extractor.CProfileRecord) str¶
- bundle.perf_report.report.cprofile.func_key(rec: bundle.perf_report.extractor.CProfileRecord) str¶
- bundle.perf_report.report.cprofile.build_func_map(profiles: list[bundle.perf_report.extractor.CProfileData]) dict[str, dict[str, bundle.perf_report.extractor.CProfileRecord]]¶
- bundle.perf_report.report.cprofile.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¶
- bundle.perf_report.report.cprofile.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¶
- async bundle.perf_report.report.cprofile.generate_report(input_path: pathlib.Path, output_path: pathlib.Path, h5_path: pathlib.Path | None)¶
Generate a performance report from .prof files.