Is there any way I can diagnose which parts of my ...
# compiler
q
Is there any way I can diagnose which parts of my project are taking the longest to compile? We're trying to speed up compile times by modularizing a large project so it can be built in parallel, but we don't know which parts will see the greatest compile-time benefits when split out. The project takes several minutes to compile so this would be really helpful for performance.
m
Have you tried the new parallel compilation backend option in the latest kotlin compilers?
With that you don't need to split things into modules.
(or, well, it's still beneficial but it's not as important)
q
Doesn't help that much for some modules and crashes with an error for the problematic large module.