Marquis Wang created MBUILDCACHE-94:
---------------------------------------

             Summary: Provide a build cache report on builds
                 Key: MBUILDCACHE-94
                 URL: https://issues.apache.org/jira/browse/MBUILDCACHE-94
             Project: Maven Build Cache Extension
          Issue Type: Improvement
            Reporter: Marquis Wang


When building with the build cache, it would be really helpful to provide a 
report of which modules were unable to utilize and cache, as well as 
information about why.

Right now, when looking at build cache performance, we can use 
{{maven.build.cache.failFast}} and {{maven.build.cache.baselineUrl}} to 
understand which module(s) were unable to utilize the build cache and why. 
However, this process is entirely manual.

It would be really helpful to provide some base cache statistics on every run, 
even if no baselineUrl is provided. That way, we can gather overall statistics 
and figure out how to change our project to better utilize the cache.

For example, we have a multi-module project with hundreds of modules. I want to 
know if there is one module that is constantly changing and is depended on 
(possibly unnecessarily) by lots of other modules, which is causing cache 
misses.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to