| commit | 4139a1628fca4d3fbced124df3afab8c94c5ee5c | [log] [tgz] |
|---|---|---|
| author | leba <leba@google.com> | Tue Oct 13 08:38:35 2020 -0700 |
| committer | Copybara-Service <copybara-worker@google.com> | Tue Oct 13 08:39:39 2020 -0700 |
| tree | fa9937a2c94034fdea2fd96a1cf211bbbdb2e317 | |
| parent | b327417b85f61e497ac99384317237fa35cd46bc [diff] |
Reduce GC in ActionExecutionFunction caused by removal of MiddlemanArtifacts. With the targets in b/169092361, turning off middlemen resulted in a 39% increase in GC.time This CL cuts that down to 13%, and also slightly improved the GC time (-3.4%) when Middlemen is enabled. With NSOS in ActionExecutionFunction, we maintain a map from SkyKey -> Artifacts whose Artifact::key is the SkyKey. There's no need to do that for a big portion of input Artifacts of actions, whose corresponding SkyKeys are just themselves (e.g. SourceArtifacts). This CL removes such Artifacts from the map. PiperOrigin-RevId: 336882444
{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