github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/benchmark/internal/cireport/resources/pr.gotpl (about)

     1  ## Result
     2  |             | {{ .QC.BaseName }}           | {{ .QC.TargetName }} | diff                | threshold |
     3  |-------------|------------------------------|----------------------|---------------------|----------------|
     4  {{ range .QC.Queries -}}
     5  | {{ .Name }} |  {{ printf "%.2f" .BaseResult }} | {{ printf "%.2f" .TargetResult }}  |  {{ formatDiff . }} | {{ .DiffThreshold }}% |
     6  {{ end -}}
     7  
     8  {{ printf "\n" }}
     9  
    10  <details>
    11    <summary>Details</summary>
    12  {{ printf "\n" }}
    13  | Name     | Description | Query for {{ .QC.BaseName }}   | Query for {{ .QC.TargetName }} |
    14  |----------|-------------|----------------------|----------------------|
    15  {{ range .QC.Queries -}}
    16  | {{ .Name }} | {{ .Description }} | `{{ .Base }}` | `{{ .Target }}`  |
    17  {{ end -}}
    18  {{ printf "\n" }}
    19  </details>