Skip to content

Commit

Permalink
ci: Use fp-based perf profiling to reduce unknown symbols (#1718)
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert authored Mar 7, 2024
1 parent 1ee64ba commit 4a6ec6f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
TOOLCHAIN: nightly
RUSTFLAGS: -C link-arg=-fuse-ld=lld -C link-arg=-Wl,--no-rosegment
PERF_CMD: record -o perf.data -F997 --call-graph lbr -g
RUSTFLAGS: -C link-arg=-fuse-ld=lld -C link-arg=-Wl,--no-rosegment, -Cforce-frame-pointers=yes
PERF_CMD: record -o perf.data -F997 --call-graph fp -g

jobs:
bench:
Expand Down Expand Up @@ -81,8 +81,6 @@ jobs:
taskset -c 0 nice -n -20 \
cargo +$TOOLCHAIN flamegraph -v -c "$PERF_CMD" \
--bin neqo-server -- --db ../test-fixture/db $HOST:4433 || true; } &
# Give the server time to start.
sleep 3
mkdir client; \
cd client; \
time taskset -c 1 nice -n -20 \
Expand Down

0 comments on commit 4a6ec6f

Please sign in to comment.