Gazelle is a Bazel build file generator for Bazel projects. It natively supports Go and protobuf, and it may be extended to support new languages and custom rule sets.
Now that the fs is walked concurrently we can also load BUILDs concurrently at the same time, that is primarily the rule.LoadFile method.
If ReadBuildFilesDir is set then this may have a more significant performance gain because the extra os.ReadDir call will also be run concurrently now.
What type of PR is this?
Other
What package or component does this PR mostly affect?
Now that the fs is walked concurrently we can also load BUILDs concurrently at the same time, that is primarily the
rule.LoadFile
method.If
ReadBuildFilesDir
is set then this may have a more significant performance gain because the extraos.ReadDir
call will also be run concurrently now.What type of PR is this?
What package or component does this PR mostly affect?
What does this PR do? Why is it needed?
Performance