When writing macros or other code that does something at compile-time, it certainly sometimes happens that compile times suddenly increase drastically.
What tools and approaches are there available to profile or otherwise debug long compile-times?
For instance, it would be nice to use profiling tools like cprof
/eprof
/fprof
but is it even possible to set them up in a way where they track compilation?