perfmon: Use backticks for analysis table

Using whitespace for code blocks no longer works with gerrit

Change-Id: I614aff78297ab96a3663888d59c10d8ad295c076
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96280
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Auto-Submit: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
Ben Clayton 2022-07-15 16:23:19 +00:00 committed by Dawn LUCI CQ
parent f19cb029b8
commit 8f488524b8
1 changed files with 6 additions and 4 deletions

View File

@ -988,13 +988,15 @@ func (e env) benchmarkGerritChange(change gerrit.ChangeInfo) error {
}
msg := &strings.Builder{}
fmt.Fprintf(msg, "Perfmon analysis:\n")
fmt.Fprintf(msg, " \n")
fmt.Fprintln(msg, "Perfmon analysis:")
fmt.Fprintln(msg)
fmt.Fprintln(msg, "```")
fmt.Fprintf(msg, "A: parent change (%v) -> B: patchset %v\n", parent[:7], current.Number)
fmt.Fprintf(msg, " \n")
fmt.Fprintln(msg)
for _, line := range strings.Split(diff.Format(diffFmt), "\n") {
fmt.Fprintf(msg, " %v\n", line)
}
fmt.Fprintln(msg, "```")
notify := "OWNER"
if len(diff) > 0 {