The Wayback Machine - https://web.archive.org/web/20201113023202/https://github.com/google/dagger/issues/1701
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dagger spends 6 seconds processing even if there are no annotations to process #1701

Open
ZacSweers opened this issue Dec 20, 2019 · 2 comments
Open

Comments

@ZacSweers
Copy link

@ZacSweers ZacSweers commented Dec 20, 2019

Even in a project with incremental annotation processing, if I make a change with no dagger source files, dagger spends 6 seconds thinking about (eventually) doing nothing 馃

dagger.internal.codegen.ComponentProcessor: total: 6119 ms, init: 155 ms, 4 round(s): 3479 ms, 2481 ms, 4 ms, 0 ms
@ZacSweers ZacSweers changed the title Dagger cold start is 6 seconds even if there are no annotations to process Dagger spends 6 seconds processing even if there are no annotations to process Dec 20, 2019
@ronshapiro
Copy link

@ronshapiro ronshapiro commented Dec 23, 2019

Do you have any other info here?

What build system? How are you timing? Can you take a profile? How much other code is being compiled?

@ZacSweers
Copy link
Author

@ZacSweers ZacSweers commented Dec 29, 2019

Let me see if I can get some more information in a public project that I can link. Most of this information is from the kapt output via kapt.verbose=true gradle property

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can鈥檛 perform that action at this time.