| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This method could be called from multiple threads since sbt could
run multiple `compile` task in parallel.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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`).
|
| |
|
|
|
|
|
|
| |
This is temporary until someone figures out how to get sbt to not print
duplicated information when this is turned on. This might require
changes to sbt itself.
|
|
|
|
|
|
|
|
|
| |
These changes were done to imitate how these fields are set in
https://github.com/sbt/sbt/blob/0.13/compile/interface/src/main/scala/xsbt/DelegatingReporter.scala
The main issue this fixes is sbt displaying the ^ pointer way too far,
because the number of spaces was set from the beginning of the file
instead of the beginning of the line.
|
| |
|
| |
|
| |
|
|\
| |
| | |
restore position offset in DelegatingReporter
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|