Inspired by the slow eval performance of cross-compiled packages, I wrote a sampling nix function call profiler. It’s not ready to be merged into Nix, but I hope it’s already useful for those that want to improve the evaluation performance of NixOS/nixpkgs: add stack sampling profiler for flamegraphs by Mic92 · Pull Request #11373 · NixOS/nix · GitHub
33 Likes