File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,16 +65,16 @@ jobs:
6565 - name : Generate Markdown Summary from Benchmark JSON
6666 run : |
6767 echo "## 🚀 Benchmark Summary" > benchmark_summary.md
68- echo '| Method | Mean | Error | StdDev |' >> benchmark_summary.md
69- echo '|--------|-----:|------:|-------:|' >> benchmark_summary.md
68+ echo '| Method | Mean | Error | StdDev | Allocation | ' >> benchmark_summary.md
69+ echo '|--------|-----:|------:|-------:|-------:| ' >> benchmark_summary.md
7070
7171 for file in BenchmarkDotNet.Artifacts/results/*.json; do
7272 jq -r '
7373 def nano: (. * 1000 | tostring | split(".") | .[0] + "." + (.[1] | .[0:3] // "000"));
7474
7575 .Benchmarks[] |
7676 .Statistics as $s |
77- "| \(.Method) | \($s.Mean | nano) ns | ±\($s.StandardError | nano) ns | \($s.StandardDeviation | nano) ns |"
77+ "| \(.Method) | \($s.Mean | nano) ns | ±\($s.StandardError | nano) ns | \($s.StandardDeviation | nano) ns | \(.Memory.BytesAllocatedPerOperation) B | "
7878 ' "$file" >> benchmark_summary.md
7979 done
8080
You can’t perform that action at this time.
0 commit comments