TL; DR
re: compilation time, is FSC enabled ? This greatly facilitates the time.
re: general slowness, you probably need to tweak the JVM settings . Scala may be more memory intensive, so you may need to increase the value -Xmxto spend less time collecting garbage. Or lower it if it is too high. Or change the garbage collector. For reference, here are mine:
<key>VMOptions</key>
<string>-ea -Xverify:none -Xbootclasspath/a:../lib/boot.jar -XX:+UseConcMarkSweepGC </string>
<key>VMOptions.i386</key>
<string>-Xms128m -Xmx512m -XX:MaxPermSize=250m -XX:ReservedCodeCacheSize=64m</string>
<key>VMOptions.x86_64</key>
<string>-Xms128m -Xmx800m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=64m -XX:+UseCompressedOops</string>
Actually figuring it out
, , , , . , Activity Monitor, , , . , , , . SSD, -, , .
IDEA, YourKit Java Profiler. - , , IDEA .
, , Scala , Java IntelliJ. , -Xmx, . , , , , , . , , , , -Xmx .