Skip to content

Instantly share code, notes, and snippets.

@stammw
Last active April 13, 2020 07:26
Show Gist options
  • Save stammw/767a022632256c30a75abf22f6866fe8 to your computer and use it in GitHub Desktop.
Save stammw/767a022632256c30a75abf22f6866fe8 to your computer and use it in GitHub Desktop.
flamegraph_h3_500G
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Server
sudo perf record --call-graph=dwarf -g target/debug/server \
-k ~/.local/share/quinn-examples/key.der -c ~/.local/share/quinn-examples/cert.der
# Client
time cargo run --example=h3_client -- --ca ~/.local/share/quinn-examples/cert.der https://localhost/500000000
# Generate graph
perf script | ../flamegraph/stackcollapse-perf.pl | ./rust-unmangle | ../flamegraph/flamegraph.pl > flame.svg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment