One of the cool recent projects I've gotten to work on at my job is a GHC plugin that exports fine-grained timings for a Haskell build
I'm still polishing this up (and I'll open source it and do a proper announcement post when it's ready), but here is a teaser which shows how it gives not only module-level build timings but also phase-level build timings, too!