diff --git a/flake.nix b/flake.nix index e7c6256..22d27f5 100644 --- a/flake.nix +++ b/flake.nix @@ -76,6 +76,7 @@ just sqlx-cli cargo-watch + samply ]; LD_LIBRARY_PATH = "$LD_LIBRARY_PATH:${ diff --git a/justfile b/justfile index 54a272b..796b5a8 100644 --- a/justfile +++ b/justfile @@ -22,7 +22,7 @@ clean: test: cargo test --benches --tests --all-features -- --nocapture profile: - cargo flamegraph --profile release -- {{verbose}} {{ui}} + samply record cargo run --release -- {{verbose}} {{ui}} alias b := build alias r := run