3 ms·
Compilation times have improved substantially: https://scala-ci.typesafe.com/grafana/dashboard/db/scala-benchmark?orgId=1 https://scala-ci.typesafe.com/grafana/
by aphexairlines 7y ago
Compilation times have improved substantially:
https://scala-ci.typesafe.com/grafana/dashboard/db/scala-benchmark?orgId=1 https://scala-ci.typesafe.com/grafana/dashboard/db/scala-ben...
- cutler 7y ago2.13 seems to be a very marginal improvement over 2.12 so it seems to be business as usual re compilation.
- skrebbel 7y agoYes but I asked since 5 years ago, not since last release. Thanks aphexairlines, that's great to hear!
- kelnos 7y agoBy that graph, 2.13 is 17% faster than 2.12. I'd call that more than marginal. And as always with benchmarks, your workload may give you different results. 2.13 will especially help with code bases that heavily use the collections library.
- pas 7y agoBoth IDEA/IntelliJ and sbt (probably both utilizing the same compiler library/features underneath) can do incremental compilation, which is very fast. (You get autocompletion suggestions in IDEA as you type, the reload-incrementalcompile cycle using Play is now spent mostly in spinning up the app after reload not in compilation, etc.) Yes, compiling a ~200 file project from scratch takes ~5 minutes, but it has scalaz, shapeless and a ton of other libraries, but this is basically only required when you import/open the project for the first time.
- merb 7y agoactually all graphs are using projects that compile in under a minute. even the scala compiler is relativly small compared to average size scala projects. the gain is way bigger in projects that have clean compile times above 1 minute.