commit | 19a151fad3a12e8d37f0ffbea05c231875adf8d9 | [log] [tgz] |
---|---|---|
author | Googler <noreply@google.com> | Fri Apr 12 11:51:41 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 12 11:52:50 2019 -0700 |
tree | e1b4bfc4b52d9b9e62c44aeb73b4c9f17401713c | |
parent | db566782bcf3776888fc479b33a1b2f3368184f9 [diff] |
Improve performance of OptionsBase#asMap. Much of the improvement comes from avoiding calls to OptionDefinition#extractOptionDefinition which is expensive due to its reflective annotation access. The previous methodology for obtaining an option's value was going from OptionsBase -> OptionDefinition (cached) -> Field -> OptionDefinition (uncached) -> Field -> Object. Now it simply goes OptionsBase -> OptionDefinition (cached) -> Field -> Object. PiperOrigin-RevId: 243304970
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds 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
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.