aboutsummaryrefslogtreecommitdiff
path: root/LICENSE.md
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2017-04-14 02:23:59 +0200
committerGuillaume Martres <smarter@ubuntu.com>2017-04-14 02:50:04 +0200
commitd773a32c9731dd5b105ac718900f8217fa75bcb2 (patch)
tree590d781ef7f81663e3baff0df9920b8ac1e52c2b /LICENSE.md
parent9e45ad16d012e6a2ff3be411c2fe101b1c74b831 (diff)
downloaddotty-d773a32c9731dd5b105ac718900f8217fa75bcb2.tar.gz
dotty-d773a32c9731dd5b105ac718900f8217fa75bcb2.tar.bz2
dotty-d773a32c9731dd5b105ac718900f8217fa75bcb2.zip
Make warm compilation speed with sbt 2x faster
Previously, every call to `compile` in sbt with dotty took about the same time because we created a new ClassLoader everytime and thus thrased the JIT code cache, by reusing ClassLoaders we can make `compile` about 2x faster. You can reproduce this by running: > dotty-compiler-bootstrapped/compile This takes ~50 seconds on my machine. Then clean using: > ;dotty-compiler-bootstrapped/clean;dotty-compiler-update And run `dotty-compiler-bootstrapped/compile` again, this takes ~25 seconds for me. I get very similar timings from scalac (replacing `dotty-compiler-bootstrapped` by `dotty-compiler`).
Diffstat (limited to 'LICENSE.md')
0 files changed, 0 insertions, 0 deletions