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
+30-1Lines changed: 30 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -140,8 +140,37 @@ jobs:
140
140
141
141
- name: Benchmark tests
142
142
run: |
143
-
BENCHSTAT_OUTPUT_FILE=result.txt make test-benchmark-compare
143
+
BENCHSTAT_OUTPUT_FILE=result.txt make test-benchmark-compare-main
144
144
- run: |
145
+
echo "Comparison against main branch" >> "$GITHUB_STEP_SUMMARY"
146
+
echo "\`\`\`" >> "$GITHUB_STEP_SUMMARY"
147
+
cat result.txt >> "$GITHUB_STEP_SUMMARY"
148
+
echo "\`\`\`" >> "$GITHUB_STEP_SUMMARY"
149
+
cat <<EOL >> "$GITHUB_STEP_SUMMARY"
150
+
<hr />
151
+
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).
152
+
The last row has the Geometric Mean (geomean) for the given rows in the table.
153
+
Refer to <a href="https://pkg.go.dev/golang.org/x/perf/cmd/benchstat">benchstat's documentation</a> for more help.
154
+
EOL
155
+
156
+
ci-benchmark-tests-release:
157
+
name: ci-benchmark-tests-releasebranch
158
+
runs-on: ubuntu-latest
159
+
steps:
160
+
- name: Check out code into the Go module directory
0 commit comments