Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Mar 16, 2024
1 parent dead9dd commit b6f0f74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Build neqo
run: |
cargo "+$TOOLCHAIN" bench --features bench --no-run
cargo "+$TOOLCHAIN" build --release --bin neqo-client --bin neqo-server
cargo "+$TOOLCHAIN" build --release
- name: Build msquic
run: |
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
truncate -s "$SIZE" "/tmp/$SIZE"
declare -A client_cmd=(
["neqo"]="target/release/neqo-client -o -a hq-interop -Q 1 https://$HOST:$PORT/$SIZE"
["msquic"]="msquic/build/bin/Release/quicinterop -test:D -timeout:99999999 -custom:$HOST -port:$PORT -urls:https://$HOST:$SIZE/"
["msquic"]="msquic/build/bin/Release/quicinterop -test:D -timeout:99999999 -custom:$HOST -port:$PORT -urls:https://$HOST:$PORT/$SIZE/"
)
declare -A server_cmd=(
["neqo"]="target/release/neqo-server -o -a hq-interop -Q 1 $HOST:$PORT"
Expand All @@ -131,7 +131,7 @@ jobs:
${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
hyperfine -w -n "$client <- $server" --export-markdown step.md "${client_cmd[$client]}" | tee -a comparison.txt || true
echo >> comparison.txt
kill $PID
{
Expand Down

0 comments on commit b6f0f74

Please sign in to comment.