Using the eval-profiler in Nix: profiling with flamegraphs
Summary
The article documents how Nix's eval-profiler can sample the evaluator's call stack to produce flamegraph-compatible profiles. It covers enabling the profiler via the eval-profiler setting, configuring frequency and output, and converting the generated profile with flamegraph.pl, including an example call site. This is a practical guide for developers seeking performance insights into Nix expressions.