summaryrefslogtreecommitdiff
path: root/src/msil/ch/epfl/lamp/compiler
diff options
context:
space:
mode:
authorVlad Ureche <vlad.ureche@gmail.com>2012-08-01 12:30:11 +0200
committerVlad Ureche <vlad.ureche@gmail.com>2012-08-04 02:06:11 +0200
commit434adb151083a658b498ffb9c3284f6bb471597a (patch)
treeab31fc86ee6aeccd5f847dac2f48dc76096d82f3 /src/msil/ch/epfl/lamp/compiler
parent4e7bf2f519d3008411922737fab9050bd00535b0 (diff)
downloadscala-434adb151083a658b498ffb9c3284f6bb471597a.tar.gz
scala-434adb151083a658b498ffb9c3284f6bb471597a.tar.bz2
scala-434adb151083a658b498ffb9c3284f6bb471597a.zip
Want a 25% partest speedup?*
... well then, don't compile twice! Explanation: The compilation process in partest happens in 3 stages: - scala + java files, all fed to scalac (so the java signatures are loaded and the scala bytecode is generated) - java files, fed to javac (so the java bytecode is generated) - scala files, fed to scalac (so the scala bytecode correctly links to the javac-generated bytecode) While this mechanism is great to have, for simple 1-file scala tests it's overkill by compiling scala files twice. So I adjusted the compile procedure to only run the first step if java files are empty, leading to a 25% partest speedup.* Also included Seth Tisue's comment about the tests that require the three-step compilation. * as measured on test.scaladoc
Diffstat (limited to 'src/msil/ch/epfl/lamp/compiler')
0 files changed, 0 insertions, 0 deletions