commit | e2385a5ebd484f63d85851a6f5300b15016d9f2b | [log] [tgz] |
---|---|---|
author | nharmata <nharmata@google.com> | Wed Apr 22 07:35:28 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Apr 22 07:36:30 2020 -0700 |
tree | b72304a6fdbbadbe1f537fafa1c219bc2eb51788 | |
parent | 40446b8b08d21b8b9fc3a4179ec56668eaf4aa15 [diff] |
Open and read bzl files at most once per build. Currently Bazel is opening and reading bzl files twice: once to get their contents, and once to get their digest. Instead we can simply grab the precomputed digest from the FileValue we already have, or we can compute it on the fly from the contents we just read. Therefore, this CL is a [small] strict performance win. RELNOTES: None PiperOrigin-RevId: 307813465
{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