commit | 701e465c879eb49c9fa6736060d6cfcd358943db | [log] [tgz] |
---|---|---|
author | leba <leba@google.com> | Wed Dec 04 04:00:20 2019 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Dec 04 04:01:19 2019 -0800 |
tree | a0a6df9927784379f6f68cbb232c00d9996f8ec4 | |
parent | 8f3e5ed9a0083afb3c6ba2629404d0a769f5ba5a [diff] |
Stream aquery proto outputs. aquery outputs proto results in a monolithic manner, which means storing the entire ActionGraphContainer in memory before printing everything to an output file. This could cause OOM error on larger queries. This CL makes aquery stream results instead. This requires a change in proto.ActionGraphContainer: instead of a wrapper object like before, it's now a collection of ActionGraphComponent. ActionGraphComponent would have a Discriminator, similar to query's build.Target. This is a breaking change for users of --incompatible_proto_output_v2. RELNOTES: None PiperOrigin-RevId: 283726774
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md