| commit | ae9bfd42831e262ebdde29c0758fa8e646284fdb | [log] [tgz] |
|---|---|---|
| author | Googler <noreply@google.com> | Wed May 27 07:45:29 2020 -0700 |
| committer | Copybara-Service <copybara-worker@google.com> | Wed May 27 07:46:39 2020 -0700 |
| tree | f50be822bd3245c352a1c1234579cafd7c0c5f61 | |
| parent | 1bc736e9e49b2dbea0cc36f682a370503dc28c1b [diff] |
Move the addition of SpawnMetrics to its Builder This is a refactoring that will make it a bit easier to reuse the code to add metrics. This should be useful when we to aggregate the metrics per different execution mode (remote/local/worker). Note that this actually does change the behavior in a small way. Previously calling `aggregateMetrics(..., /* onlyDuration= */ true)` would result in setting the non-duration fields to the value contained in the last `SpawnMetrics` in the list. Now, we'll take the maximum value for each of them. RELNOTES: None. PiperOrigin-RevId: 313387263
{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