Skip to content

Commit

Permalink
Make use of new TaskGraphRunner parallelism and resource allocatoin i…
Browse files Browse the repository at this point in the history
…mprovements
  • Loading branch information
lukebemish committed Jan 5, 2025
1 parent abf7cef commit 7e1668d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,14 @@ public DaemonExecutor start(JavaLauncher javaLauncher, String jarPath) {
if (getParameters().getLogLevel().isPresent()) {
properties.put(LOG_LEVEL_PROPERTY, getParameters().getLogLevel().get());
}
properties.putAll(getProviders().gradlePropertiesPrefixedBy("dev.lukebemish.taskgraphrunner").get());
properties.putAll(getProviders().systemPropertiesPrefixedBy("dev.lukebemish.taskgraphrunner").get());

// These are all very expensive; some computers can do these all at once but many cannot, and as they're all parallelized it doesn't save much.
properties.put("dev.lukebemish.taskgraphrunner.parallelism.groups", "jst+decompile+remapMods");
// And these ones should be considered heavy
properties.put("dev.lukebemish.taskgraphrunner.jst+decompile+remapMods.heavy", "true");

properties.putAll(getProviders().gradlePropertiesPrefixedBy("dev.lukebemish.taskgraphrunner").get());
properties.putAll(getProviders().systemPropertiesPrefixedBy("dev.lukebemish.taskgraphrunner").get());

for (Map.Entry<String, String> entry : properties.entrySet()) {
args.add("-D"+entry.getKey()+"="+entry.getValue());
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/versions.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
taskgraphrunner=0.1.18
taskgraphrunner=0.1.19
devlaunch=1.0.1
terminalconsoleappender=1.3.0
christen=0.1.7

0 comments on commit 7e1668d

Please sign in to comment.