Gabriel Feo
02/10/2022, 10:08 PMGabriel Feo
02/23/2022, 2:14 PMGuilherme Lima Pereira
03/04/2022, 5:13 PMCharles Korn
03/05/2022, 10:47 PMSync
tasks that each extract files an archive into a directory. Each task has a different archive as input and a different output directory, so they should be completely independent, but they’re running sequentially, rather than in parallel. Is this expected? 🧵Tapchicoma
04/28/2022, 9:14 AMIan Brandt
05/04/2022, 7:34 PM./gradlew build
for my project it succeeds. If I run gradle-profiler --project-dir . --benchmark build
it fails on varying "could not resolve" or "could not download" artifact exceptions.
The project in question is configured to exclusively use an internal Nexus proxy repo via a dependencyResolutionManagement
block in settings.gradle.kts, which notably is incubating. Trying gradle-profiler on a different project, one that is configured to use Maven Central directly, works without issue.
Could it be that gradle-profiler doesn't yet support dependencyResolutionManagement
configuration, or is there something else I should do to troubleshoot this issue?rrva
05/06/2022, 7:05 AMebtokyo
05/10/2022, 3:30 PMTapchicoma
05/30/2022, 8:48 AMgradle.properties
org.gradle.jvmargs="-XX:+HeapDumpOnOutOfMemoryError"
. I see heapdump option only for profiling case.Andrea Di Menna
07/12/2022, 9:43 AMTapchicoma
07/12/2022, 1:33 PM--project-cache-dir
into ram disk? 🤔Jason Atwood
07/12/2022, 7:27 PM--offline
with gradle profiler? I want to avoid hitting remote build cache.Satyarth Sampath
07/13/2022, 5:08 AMVijay Arun
09/06/2022, 8:02 AMVijay Arun
09/06/2022, 8:04 AMVijay Arun
09/06/2022, 8:09 AMthadhouse
10/27/2022, 3:59 AMprintln project.getGradle().getStartParameter().getMaxWorkerCount()
Slackbot
11/02/2022, 4:54 PMAlex Fox
12/20/2022, 9:33 PMassertTrue(true)
in a new class with nothing else in it in our environment, it takes 3.5 minutes to run from clean, and 1.5 minutes to run once built (or if I make a tiny change like changing the test to assertFalse(false)
. The first thing I’m going for is the configuration step which takes almost a full minute on project :
. No additional context. Does that mean the root project or something? It doesn’t break out into categories in the results of --profile
or --scan
and we don’t seem to have any projects explicitly named :
as far as I’ve been able to tellGabriel Feo
02/08/2023, 4:44 PMDaan
02/09/2023, 9:23 AM--max-workers 1
) with just barely enough
memory and see during which task the daemon is running out of memory. We observed that this happens during large copy tasks.
Is this expected to consume significant memory? Did anyone else also observe this? Any information is more than appreciated!Sherif Nada
02/25/2023, 8:35 PMUP-TO-DATE
) in a large monorepo (~50 devs)?
I work in a monorepo with 50+ other engineers touching ~50-60 submodules. Developers will often add new modules or modify build logic for existing modules. It’s very easy for someone who is not familiar with Gradle to break the build’s incrementality.
It’s not practical to expect everyone to be a gradle expert. At the same time, I want the build speed to be optimal. This seems like a great use-case for a CI or build check.
My ideal solution would be for the Gradle build to fail if it finds that any task is not incremental (maybe with the ability to add an escape hatch for tasks which truly can’t be incremental).
Does anyone have experience with implementing something like this? Any pointers would be super appreciated.Marek
03/08/2023, 3:45 PMebtokyo
03/10/2023, 9:01 PMRomain Petit
03/11/2023, 7:31 AMHemanth Sai Veluvolu
03/14/2023, 11:29 AMAll tasks
is ~8000. But according to configuration avoidance documentation, this number should ideally be same. Is there a way to debug why and which tasks are getting unnecessarily created?Marcin Laskowski
03/20/2023, 1:05 PM.csv
?Marcin Laskowski
03/20/2023, 1:05 PM.csv
?Chris Lee
03/20/2023, 1:28 PMAdam
03/20/2023, 1:44 PMMarcin Laskowski
03/21/2023, 7:37 AM--profile
option, and it gives me what I need... in html format, but I'm able to parse this using some jsoup magic. Thanks for help!