commit | a617b5a1f7831a01a00eb9e099f4672296ec49c6 | [log] [tgz] |
---|---|---|
author | jhorvitz <jhorvitz@google.com> | Wed Jun 23 07:33:34 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Jun 23 07:34:51 2021 -0700 |
tree | 7ace22561cf7350fbb2ca707be249c518208c8f3 | |
parent | 3b6274c57bce5a3678753978c0cd2b25447f33cd [diff] |
Reduce garbage in header discovery. The `ImmutableMap` copy creates significant garbage in some builds. Since `HeaderDiscovery` instances are only constructed for one-time use in practice, make `discoverInputsFromDependencies` a static method. The set of tree artifacts is dropped in favor of just a map because the `NestedSet` from which they originate will already deduplicate. Additionally, it is not necessary to also store them in the main derived artifact map. PiperOrigin-RevId: 381027740
{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