Hey all :slightly_smiling_face: we have huge scal...
# community-support
n
Hey all 🙂 we have huge scala/play project with gradle. I know that gradle can give u some build stats for example what was the execution time of each task. Is there a way to get some more low level scala statistics? my hope is maybe to be able to find packages/classes/files that takes more time to compile then others, and see maybe there's a way to refactor and reduce these "problematic" packages/classes/files
v
Pretty unlikely, as Gradle does not do the compilation itself but tells the Scala compiler "compile these files". So you would need to check whether the Scala compiler itself can provide such statistics, then maybe you can somehow enable them through Gradle.
n
these files meaning - all the files of the project? or it divide it into chunks or something like that?
there are no optimizations that are done by the gradle scala plugin regarding the compilation itself?
v
I don't know, I don't do Scala. There is also for Scala incremental compilation so that only changed and affected files are recompiled. But https://docs.gradle.org/current/userguide/scala_plugin.html#sec:scala_incremental_compilation reads like here Gradle is not doing this itself but relies on Zinc for doing it.
n
i see. maybe ill take a look at the plugin source code see if i find something hidden 🙂 thanks for your help!
👌 1