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
mikehearn
05/10/2022, 12:20 PM
Have you tried the new parallel compilation backend option in the latest kotlin compilers?
mikehearn
05/10/2022, 12:20 PM
With that you don't need to split things into modules.
mikehearn
05/10/2022, 12:21 PM
(or, well, it's still beneficial but it's not as important)
q
Quantum64
05/16/2022, 8:42 AM
Doesn't help that much for some modules and crashes with an error for the problematic large module.