Question

While looking for a way to improve compile times on our build server, I came across this issue about overhead added by the incremental compiler. Since our build server checks out a fresh copy of the source and builds from scratch each time, it would be nice to be able to disable the incremental compiler completely and not have to pay for something that will not be used. Is this possible?

Was it helpful?

Solution

Grzegorz says in #1078:

The original numbers I got back in January were wrong because I was using hacked version of incremental compiler for benchmarks. I gathered more numbers using sbt 0.13.2 and the overhead of incremental compiler [snip] As you can see, for all projects apart from Scala itself, the overhead is below 10%.

So the case was closed as invalid. Related, Ability to disable incremental compiler for CI builds was closed as won't-fix.

Is this possible?

The here answer is, no (we might be open to pull reqs).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top