Skip to content

Commit

Permalink
kill -> killall
Browse files Browse the repository at this point in the history
Also reduce test transfer size.
  • Loading branch information
larseggert committed Mar 12, 2024
1 parent 9d3a8b7 commit 407bd4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ jobs:
time taskset -c 1 nice -n -20 \
cargo "+$TOOLCHAIN" flamegraph -o "client-$CC.svg" -v -c "$PERF_OPT -o client-$CC.perf" \
--bin neqo-client -- --output-dir "$TMP" --cc "$CC" "https://$HOST:4433/$SIZE"
killall -INT $PID
kill -INT $PID
[ "$(wc -c < "$TMP/$SIZE")" -eq "$SIZE" ] || exit 1
rm -rf "$TMP"
done
env:
HOST: localhost
SIZE: 1073741824 # 1 GB
SIZE: 536870912 # 512 MB

# Re-enable turboboost, hyperthreading and use powersave governor.
- name: Restore machine
Expand Down

0 comments on commit 407bd4f

Please sign in to comment.