You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -164,7 +164,17 @@ jobs:
164
164
165
165
- name: Benchmark tests
166
166
run: |
167
-
make test-benchmark-compare
167
+
BENCHSTAT_OUTPUT_FILE=result.txt make test-benchmark-compare
168
+
- run: |
169
+
echo "\`\`\`" >> "$GITHUB_STEP_SUMMARY"
170
+
cat result.txt >> "$GITHUB_STEP_SUMMARY"
171
+
echo "\`\`\`" >> "$GITHUB_STEP_SUMMARY"
172
+
cat <<EOL >> "$GITHUB_STEP_SUMMARY"
173
+
<hr />
174
+
The table shows the median and 95% confidence interval (CI) summaries for each benchmark comparing the HEAD and the BASE, and an A/B comparison under "vs base". The last column shows the statistical p-value with ten runs (n=10).
175
+
The last row has the Geometric Mean (geomean) for the given rows in the table.
176
+
Refer to [benchstat's documentation](https://pkg.go.dev/golang.org/x/perf/cmd/benchstat) for more help.
0 commit comments