profiler
This commit is contained in:
parent
52e400ca4b
commit
59c80c66e4
5 changed files with 14 additions and 5 deletions
4
justfile
4
justfile
|
|
@ -10,3 +10,7 @@ runcli:
|
|||
RUST_LOG=info cargo run --bin=client_cli
|
||||
runclibots:
|
||||
RUST_LOG=info cargo run --bin=client_cli -- --bot dummy,dummy
|
||||
profile:
|
||||
echo '1' | sudo tee /proc/sys/kernel/perf_event_paranoid
|
||||
cargo build --profile profiling
|
||||
samply record ./target/profiling/client_cli --bot dummy,dummy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue