-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: preload .bazelignore before configure, do not use globs (#1886)
The `.bazelignore` should be loaded once upfront and not depend on the `config.Configurer` invocation order. `.bazelignore` does not support globs like the gazelle `excludes` so a simple map lookup instead of glob evaluation is enough and faster. Do not invoke `config.Configure` on a directory which is `.bazelignore`d, unlike `excludes` which only applies to sub-directories within a BUILD. **What type of PR is this?** Other **What package or component does this PR mostly affect?** all **What does this PR do? Why is it needed?** Cleanup
- Loading branch information
Showing
2 changed files
with
32 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters