-
Notifications
You must be signed in to change notification settings - Fork 385
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gazelle is >5x slower after #1022 merged #1026
Comments
Looking a bit into this, I think d1bb564#r49128622 is causing this issue. Is there a good place to cache that information? |
Dug a bit more into this, and it seems that the issue is more to do with how the Some more info:
I suspect that a fix here is to have a more complicated implementation of excludes. For I also suspect that a similar change could be made to regular |
Marking this as a bug. Thanks for investigating this. It sounds like the best thing to do is to improve the |
What version of gazelle are you using?
current master (.bazelignore change #1022): d1bb564
previous commit (#1024 ): 876c759
What version of rules_go are you using?
v0.25.1
What version of Bazel are you using?
4.0.0
What operating system and processor architecture are you using?
Ubuntu Linux x86_64
What did you do?
Swapped out gazelle version in workspace and ran our gazelle tooling under both versions:
current master (.bazelignore change #1022): d1bb564
bazel run --run_under="time" //tools/gazelle
previous commit (#1024): 876c759
bazel run --run_under="time" //tools/gazelle
For what it's worth, our .bazelignore has ~50 items.
For now, I've chosen to run 876c759, but the performance regression in d1bb564 is giving me pause to updating to latest.
The text was updated successfully, but these errors were encountered: