Has anyone taken a shot at a "profiling" mod for KSP to help track down slow or even buggy mods? I'm thinking one might measure total time spent in functions owned by each mod (particularly during scene changes), and even intercept exceptions out of them to roughly track each mod's peak error rate. I know this is a fairly advanced topic, but considering some of the crazy stuff other mods here have achieved (e.g. AssemblyReloader) I'm wondering if it's feasible and/or if anyone's tried. And I'm thinking there must be some profiling scaffolding built into mono (to avoid having to go and manually hook each function).
Also what existing tools do you use to track this stuff down? (e.g. Are there mono tools that would help?)