Code Monkey home page Code Monkey logo

Comments (8)

kyhule avatar kyhule commented on June 17, 2024 1

I saw the same results using 1.30.0 which is where I first noticed it. I dropped back to 1.29.0 first and then 1.28.0 before the regression went away. I am relying on the auto apply; I'll try running without it. I am upgrading to AGP 8.2.2 right now so I'll see if that makes any difference. If none of that proves to help, I'll get cpu and memory usage on it.

from dependency-analysis-gradle-plugin.

autonomousapps avatar autonomousapps commented on June 17, 2024

Are you using the configuration cache?

from dependency-analysis-gradle-plugin.

kyhule avatar kyhule commented on June 17, 2024

No, configuration cache was not enabled for either run. No, configuration cache was not enabled for either run.

from dependency-analysis-gradle-plugin.

autonomousapps avatar autonomousapps commented on June 17, 2024

Can you try 1.30.0?

If you get the same results, I'd like to see CPU and memory profiles to investigate. The biggest change between 28 and 29 is using the new AGP APIs. 30 makes further improvements in this vein. If you're not already doing it, I would suggest disabling auto-apply behavior and instead manually applying DAGP to each module.

from dependency-analysis-gradle-plugin.

autonomousapps avatar autonomousapps commented on June 17, 2024

I wonder if memory usage went up and you're GC thrashing. Could you take a look in the performance tab of your build scans and see what's happening with your memory?

from dependency-analysis-gradle-plugin.

kyhule avatar kyhule commented on June 17, 2024

I wonder if memory usage went up and you're GC thrashing. Could you take a look in the performance tab of your build scans and see what's happening with your memory?

Nope, doesn't seem to be a GC issue.
CleanShot 2024-02-24 at 15 16 32@2x

from dependency-analysis-gradle-plugin.

kyhule avatar kyhule commented on June 17, 2024

I wonder if it is due to the fact that we have nonTransitiveRClass disabled (set to false). Did a heap dump and seeing a ton of instances of AndroidRes objects.
CleanShot 2024-02-24 at 15 26 19@2x

from dependency-analysis-gradle-plugin.

autonomousapps avatar autonomousapps commented on June 17, 2024

I wonder if it is due to the fact that we have nonTransitiveRClass disabled (set to false). Did a heap dump and seeing a ton of instances of AndroidRes objects. CleanShot 2024-02-24 at 15 26 19@2x

maybe. the plugin can't even give accurate advice relating to Android resources with that disabled.

from dependency-analysis-gradle-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.