We're using Intellij IDEA in our company and very happy with it! We're building quite a big project and want to profile our compilation time to see if we organize our modules well.
We'd like to collect stats on how much time is spent on project compilation, module compilation, whole build assembly.
Just wondering if Intellij IDEA already calculates statistics for built-in actions as built, make, etc? If this statistics are in any way accessible - is there are the API to retrieve such stats (compiler milliseconds, etc)? Maybe some events are published, which could be used in in plugins to track the time? Maybe it's in some files at ~/.IntelliJIdea12/config/options/ ? Do you have any 'hacks' or 'tricks' in you mind?
I assume that none of that could be calculated (or is private to Jetbrains only).
In such case, what would be your advice to add such profiling? Should one develop a profiling compiler (kinda TranslatingCompiler) as a plugin and use it? Any other ideas?