Jump to content

Nix Profiling

From justus.pw Wiki
Revision as of 06:19, 3 March 2026 by Justus (talk | contribs) (Create page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Nix-darwin

First, run the following to get a flamegraph:

# This assumes that you've named your nix-darwin configuration
# after your hostname
nix eval --option eval-profiler flamegraph .#darwinConfigurations.$(hostname).system