After asking in vain for an existing tool to check where time is spent in a complex build graph and how to optimize it, I’m happy to announce my own analysis tool for this use case:
As shown in the readme, once you’ve recorded a build using Nixprof, you can generate various textual analyses as well as nice graphs to look at in external programs or to hang on your office wall.
Ideas for further analyses and, even better, contributions welcome!