Start up time in sbt 1.0.0-RC2 is slower
See original GitHub issuejvican in /data/rw/code/scala/experiment-performance [12:04:03]
> $ vim project/build.properties // change to 0.13.16-M1
jvican in /data/rw/code/scala/experiment-performance [12:04:11]
> $ time sbt "exit"
[info] Loading global plugins from /home/jvican/.sbt/0.13/plugins
[info] Updating {file:/home/jvican/.sbt/0.13/plugins/}global-plugins...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Compiling 1 Scala source to /home/jvican/.sbt/0.13/plugins/target/scala-2.10/sbt-0.13/classes...
[info] Loading project definition from /data/rw/code/scala/experiment-performance/project
[info] Updating {file:/data/rw/code/scala/experiment-performance/project/}experiment-performance-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Set current project to experiment-performance (in build file:/data/rw/code/scala/experiment-performance/)
/home/jvican/bin/sbt "exit" 39.40s user 0.70s system 321% cpu 12.476 total
jvican in /data/rw/code/scala/experiment-performance [12:04:26]
> $ time sbt "exit"
[info] Loading global plugins from /home/jvican/.sbt/0.13/plugins
[info] Loading project definition from /data/rw/code/scala/experiment-performance/project
[info] Set current project to experiment-performance (in build file:/data/rw/code/scala/experiment-performance/)
/home/jvican/bin/sbt "exit" 13.05s user 0.25s system 296% cpu 4.493 total
jvican in /data/rw/code/scala/experiment-performance [12:04:33]
> $ time sbt "exit"
[info] Loading global plugins from /home/jvican/.sbt/0.13/plugins
[info] Loading project definition from /data/rw/code/scala/experiment-performance/project
[info] Set current project to experiment-performance (in build file:/data/rw/code/scala/experiment-performance/)
/home/jvican/bin/sbt "exit" 12.64s user 0.26s system 294% cpu 4.385 total
jvican in /data/rw/code/scala/experiment-performance [12:04:48]
> $ vim project/build.properties // change to sbt 1.0.0-RC2
jvican in /data/rw/code/scala/experiment-performance [12:04:54]
> $ time sbt "exit"
[info] Loading project definition from /data/rw/code/scala/experiment-performance/project
[info] Loading settings from build.sbt ...
[info] Set current project to experiment-performance (in build file:/data/rw/code/scala/experiment-performance/)
/home/jvican/bin/sbt "exit" 22.35s user 0.34s system 291% cpu 7.778 total
jvican in /data/rw/code/scala/experiment-performance [12:05:04]
> $ time sbt "exit"
[info] Loading project definition from /data/rw/code/scala/experiment-performance/project
[info] Loading settings from build.sbt ...
[info] Set current project to experiment-performance (in build file:/data/rw/code/scala/experiment-performance/)
/home/jvican/bin/sbt "exit" 14.34s user 0.29s system 267% cpu 5.477 total
jvican in /data/rw/code/scala/experiment-performance [12:05:13]
> $ time sbt "exit"
[info] Loading project definition from /data/rw/code/scala/experiment-performance/project
[info] Loading settings from build.sbt ...
[info] Set current project to experiment-performance (in build file:/data/rw/code/scala/experiment-performance/)
/home/jvican/bin/sbt "exit" 13.74s user 0.22s system 266% cpu 5.247 total
We have to figure out why. The tested project has the following build.sbt:
name := "experiment-performance"
organization := "ch.epfl.scala"
libraryDependencies ++= List(
"io.circe" %% "circe-core" % "0.8.0",
"io.circe" %% "circe-generic" % "0.8.0",
"io.circe" %% "circe-parser" % "0.8.0",
"com.chuusai" %% "shapeless" % "2.3.2"
)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:21
- Comments:38 (14 by maintainers)
Top Results From Across the Web
Developers - Start up time in sbt 1.0.0-RC2 is slower - - Bountysource
Start up time in sbt 1.0.0-RC2 is slower.
Read more >sbt Reference Manual — Combined Pages
Starts the Scala REPL with project classes and dependencies on the classpath ... requires JVM spinup and JIT each time, so your build...
Read more >Why is `Resolving` so slow in the compiling stage of SBT?
It is when ivy (which sbt uses for dependency management) looks through the dependency graph of the project to figure out all dependencies...
Read more >Opening scala sbt project unbearably slow. : SCL-14200
yes, all projects. I attach the sbt import config. · sbt-shell import worsens the startup time (first the shell, then sbt dump from...
Read more >eed3si9n
As the starting point we'll use the following setup, which is documented in Setting up GitHub Actions with sbt: name: CI on: pull_request:...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Any news here?
sbt 1.1.4
So it’s 720 seconds really ((
this is even worse on first runs (which might often happen in
docker build
-Environments). The sbt 1.x.x builds hanging forever atLoading project definition from
. Well at least dependency resolution is faster when coursier is plugged in…