Created
September 19, 2014 12:08
-
-
Save erikkaplun/9f218c8de1ac3dd72478 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rm -f *.class; fsc -shutdown | |
[Compile server exited] | |
$ time scala test.scala | |
real 0m5.779s <-------- | |
user 0m0.375s | |
sys 0m0.069s | |
-------------------------- | |
~/code/scala/testtask$ fsc # käivitab fsc daemoni | |
... | |
$ rm -f *.class | |
$ time scala test.scala | |
real 0m1.444s <-------- | |
user 0m0.376s | |
sys 0m0.067s | |
-------------------------- | |
~/code/scala/testtask$ rm -f *.jar *.class | |
~/code/scala/testtask$ time scala -savecompiled test.scala | |
real 0m1.035s <-------- | |
user 0m0.375s | |
sys 0m0.063s | |
~/code/scala/testtask$ ls -l test.jar | |
-rw-r--r--+ 1 erik staff 16001 Sep 19 15:07 test.jar | |
~/code/scala/testtask$ time scala -savecompiled test.scala | |
real 0m0.338s <-------- | |
user 0m0.308s | |
sys 0m0.055s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment