Slackbot
01/18/2024, 3:30 PMVampire
01/18/2024, 3:33 PM--scan
.
If you cannot, maybe -Dorg.gradle.caching.debug=true
might help iirc.Eug
01/18/2024, 3:34 PMEug
01/18/2024, 3:35 PMVampire
01/18/2024, 3:39 PMVampire
01/18/2024, 3:39 PMEug
01/18/2024, 3:40 PMEug
01/18/2024, 3:40 PMVampire
01/18/2024, 3:42 PM-Dorg.gradle.caching.debug=true
did not help?Eug
01/18/2024, 3:43 PMEug
01/18/2024, 3:43 PMEug
01/18/2024, 3:43 PMVampire
01/18/2024, 3:47 PMEric Haag
01/18/2024, 4:35 PMVampire
01/18/2024, 4:36 PMVampire
01/18/2024, 4:36 PMVampire
01/18/2024, 4:36 PMEric Haag
01/18/2024, 4:37 PMEric Haag
01/18/2024, 4:37 PMVampire
01/18/2024, 4:38 PMVampire
01/18/2024, 4:38 PMIt is not strictly necessary that you have permission to call these APIs to execute a script successfully, but the summary provided once the script has finished running its experiment will be more comprehensive if the build scan data is accessible.
Eric Haag
01/18/2024, 4:38 PMVampire
01/18/2024, 4:38 PMEric Haag
01/18/2024, 4:44 PM<http://scans.gradle.com|scans.gradle.com>
). The reason is for the experiment to really be useful you need the comparison feature, which as you pointed out earlier, is only available in the full version.
Additionally, if you have API access to said Develocity server, the experiment summary will contain some data on the experiment outcome (e.g. # of executed cacheable tasks in the second build). This API access is not strictly required as you can always view the published build scans.Vampire
01/18/2024, 4:45 PMEug
01/18/2024, 4:55 PMEug
01/18/2024, 4:55 PMEric Haag
01/18/2024, 5:11 PM-Dorg.gradle.caching.debug=true
would be the way to go if you do not have access to Develocity.Eug
01/18/2024, 5:12 PMVibin Reddy
03/03/2024, 6:30 AM~/.gradle/caches/build-cache-1
?
It seems the generated files use application/gzip
MIME type
Wondering if this can help in debugging cache misses with respect to Remote build cache. (since I don't have Develocity)Vibin Reddy
03/03/2024, 7:15 AMgunzip
and then tar -xvf
is the way to goVampire
03/03/2024, 9:30 PMtar
tool can even do that for example with -z
for gzip or -j
for bzip2.
But I don't think you gain much in comparing those files, afair they contain a little bit metadata like when and where it was built and other than that the outputs that are cached in that entry.
To compare cache misses without Develocity, it is much more useful to run both builds with -Dorg.gradle.caching.debug=true
and compare the fingerprint contributors to find the differences, as mentioned above already.