Skip to content

Commit

Permalink
true
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Feb 14, 2024
1 parent f451967 commit ac26444
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,23 +76,18 @@ jobs:

- name: Benchmark a client/server transfer
run: |
{ mkdir server && \
cd server && \
{ mkdir server; \
cd server; \
nice -n -20 taskset -c 0 \
cargo +$TOOLCHAIN flamegraph -v -c "$PERF_CMD" \
--bin neqo-server -- --db ../test-fixture/db $HOST:4433 ; } &
--bin neqo-server -- --db ../test-fixture/db $HOST:4433 || true; } &
PID=$!
ps -ef
echo $PID
mkdir client && \
cd client && \
mkdir client; \
cd client; \
time nice -n -20 taskset -c 1 \
cargo +$TOOLCHAIN flamegraph -v -c "$PERF_CMD" \
--bin neqo-client -- --output-dir . https://$HOST:4433/$SIZE
ps -ef
kill -INT $PID
ps -ef
fg $PID
cd ${{ github.workspace }}
[ "$(wc -c < client/"$SIZE")" -eq "$SIZE" ] || exit 1
env:
Expand Down

0 comments on commit ac26444

Please sign in to comment.