Skip to content

Commit

Permalink
Better reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Mar 16, 2024
1 parent b77c306 commit 82ff190
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ jobs:
for server in neqo msquic; do
${server_cmd["$server"]} &
PID=$!
echo "Running teste for ${server} server" | tee -a comparison.txt
hyperfine -n "$server" -L client neqo,msquic--export-markdown comparison.md "${client_cmd["{client}"]}" | tee -a comparison.txt || true
echo "Running benchmarks for $server server" | tee -a comparison.txt
hyperfine -n "$server" -L client neqo,msquic--export-markdown step.md "${client_cmd["{client}"]}" | tee -a comparison.txt || true
echo >> comparison.txt
kill $PID
cat comparison.md >> "$GITHUB_STEP_SUMMARY"
cat step.md >> comparison.md
done
rm -r "$TMP"
Expand Down Expand Up @@ -179,6 +179,11 @@ jobs:
-e 's/^([a-z0-9].*)$/* **\1**/gi' \
-e 's/(change:[^%]*% )([^%]*%)(.*)/\1**\2**\3/gi' \
>> results.md
{
echo "### Client/server transfer results"
cat comparison.md
} >> results.md
cat results.md > "$GITHUB_STEP_SUMMARY"
- name: Remember main-branch push URL
if: github.ref == 'refs/heads/main'
Expand Down

0 comments on commit 82ff190

Please sign in to comment.