I did a benchmark for compilation time on Scala 2.10.0 and 2.9.2, and have found that 2.10.0 took longer compilation time than 2.9.2.
In which case does it happen? Or can Scala 2.10.0 compiler be generally slower than 2.9.2 for certain reasons?
I did a benchmark for compilation time on Scala 2.10.0 and 2.9.2, and have found that 2.10.0 took longer compilation time than 2.9.2.
In which case does it happen? Or can Scala 2.10.0 compiler be generally slower than 2.9.2 for certain reasons?
On initial sbt start + clean/compile 2.10 appears to be faster than 2.9.x
However, on subsequent clean/compile cycles on 2.10, times remain the same, unlike 2.9.x where caches comes to the rescue and significantly reduce clean/compile cycles.
For example, I have a core project setup on both 2.9.2 and 2.10 (37 scala, 6 java)
The 2.9.2 project takes @50 seconds on initial clean/compile; 15 to 20 seconds max thereafter
[warn] 6 warnings found
[success] Total time: 16 s
The 2.1.0 project takes @40 seconds on initial clean/compile; @40 seconds thereafter.
[warn] 14 warnings found
[success] Total time: 45 s
Should note that the 2.9.2 project generates 6 warnings; the 2.10 project, 14 warnings.
Would be nice to see other results in this thread, only just started testing.
Not looking forward to converting entire application to 2.10 -- current build time is @100 seconds on 2.9.2; should be 200-300+ seconds on 2.10 if the above trend holds, yikes.