Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Mar 16, 2024
1 parent b711ad9 commit fe49c7f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,15 @@ jobs:
["msquic"]="msquic/build/bin/Release/quicinteropserver -root:$TMP -listen:$HOST -port:$PORT -file:$TMP/cert -key:$TMP/key -noexit"
)
for server in neqo msquic; do
${server_cmd["$server"]} &
PID=$!
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 step.md >> comparison.md
for client in neqo msquic; do
${server_cmd["$server"]} &
PID=$!
echo "Running benchmarks for $server server" | tee -a comparison.txt
hyperfine -n "$client -> $server" --export-markdown step.md "${client_cmd[$client]}" | tee -a comparison.txt || true
echo >> comparison.txt
kill $PID
cat step.md >> comparison.md
done
done
rm -r "$TMP"
Expand Down

0 comments on commit fe49c7f

Please sign in to comment.