You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@eed3si9n - I hope I'm describing the issue correctly - let me know..
When using withConsolidatedResolution(true) can the graph.json size be further reduced by removing transitive dependencies from the callers array? For small projects it's manageable, but for a large project the json files mushroom in size and the performance of consolidated resolution deteriorates.
Steps:
git@github.com:edeustace/sbt-callers-sample.git
cd sbt-callers-sample/lib-two
sbt publish-local
cd ../lib-one
sbt publish-local
cd ..
sbt update
Then inspect the graph.json for module a. You should see something like:
eed3si9n
changed the title
remove transitive dependencies from callers array when using consolidated resolution
cached resolution: remove transitive dependencies from callers array when using consolidated resolution
Jul 16, 2015
Just ran 0.13-RC3 against the project that was grinding to a halt, it's now making use of consolidated resolution with a clean update averaging ~80s (was ~240s). Thanks @eed3si9n
@edeustace Thanks for the confirmation. Were old cached resolution grinding to the halt, or the plain update too? I'm curious about the performance comparison. Never mind you said ~240s.
@eed3si9n - I hope I'm describing the issue correctly - let me know..
When using
withConsolidatedResolution(true)
can the graph.json size be further reduced by removing transitive dependencies from thecallers
array? For small projects it's manageable, but for a large project the json files mushroom in size and the performance of consolidated resolution deteriorates.Steps:
Then inspect the graph.json for module
a
. You should see something like:The tmp org (
org.scala-sbt.temp
) is fine as is the direct dependencylib-one
.The issue is that
lib-two
is listed as a caller even though it's a transitive dependency ofa
.The text was updated successfully, but these errors were encountered: