Skip to main content

render_comment_from_report

Function render_comment_from_report 

Source
pub fn render_comment_from_report(
    report: &PerfgateReport,
    options: &CommentOptions,
) -> String
Expand description

Render a full PR comment body from a PerfgateReport.

If the report contains a compare receipt, it delegates to render_comment. Otherwise, it renders a minimal summary from the report’s verdict and findings.