From 97d99b872d3840e08d5c51ffa7c87b144fbb2afa Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Thu, 8 Jun 2023 21:56:18 -0400 Subject: [PATCH] feat: Add flamegraph --- flake.nix | 2 ++ sources/packages.txt | 1 + sources/sources.json | 5 +++++ 3 files changed, 8 insertions(+) diff --git a/flake.nix b/flake.nix index 01afba3..7be8f61 100644 --- a/flake.nix +++ b/flake.nix @@ -95,6 +95,8 @@ # Formatters nixfmt python311Packages.mdformat + # Profiling + perf-tools ] ++ buildInputs ++ nativeBuildInputs ++ map (x: self.packages.${system}.${x}) rustPackageNames; in rec { diff --git a/sources/packages.txt b/sources/packages.txt index 4db6b1b..4f50b01 100644 --- a/sources/packages.txt +++ b/sources/packages.txt @@ -3,3 +3,4 @@ cargo-nextest cargo-udeps cargo-audit samply +flamegraph diff --git a/sources/sources.json b/sources/sources.json index f7fe188..1acebec 100644 --- a/sources/sources.json +++ b/sources/sources.json @@ -19,6 +19,11 @@ "pname": "cargo-udeps", "version": "0.1.40" }, + "flamegraph": { + "hash": "sha256-StrZ0FVC5r8SlZACj4uoRc+Nma1Rb6OxdNbYD93V+pY=", + "pname": "flamegraph", + "version": "0.6.3" + }, "samply": { "hash": "sha256-V0uAS7Oo7wv0yU5CgqqYhltwM5PXJ3GP/TLVZV2GkkI=", "pname": "samply",