fthomas/singleton-ops

Long build times causing Travis build timeout

soronpo opened this issue · 1 comments

Recent changes caused singleton-ops to experience a 6x increase in build times. The causes:

  1. Addition of Scala-JS build artifacts and testing. While doubling the build times is acceptable under these circumstances, they were actually tripled. Further inspecting the build process, it becomes clear why:
[info] Compiling 15 Scala sources to C:\Users\soronpo\IdeaProjects\singleton-ops\.jvm\target\scala-2.12\classes ...
[info] Compiling 15 Scala sources to C:\Users\soronpo\IdeaProjects\singleton-ops\target\scala-2.12\classes ...
[info] Compiling 15 Scala sources to C:\Users\soronpo\IdeaProjects\singleton-ops\.js\target\scala-2.12\classes ...

There seem to be a duplicate build process for jvm (the target). The build process needs to be fixed and the redundant build removed.

  1. Regressions in SBT 1.0.x build performance. Issue opened for SBT sbt/sbt#3783
    I propose we downgrade to 0.13.16 for now.
  1. Fixed with #47
  2. Fixed with #48

image