commit | e9521d32ea97615446109256e26c3db0d6714719 | [log] [tgz] |
---|---|---|
author | ulfjack <ulfjack@google.com> | Wed Jul 10 13:42:02 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Jul 10 13:43:33 2019 -0700 |
tree | 72c0efc9720f4e08622197432e8d836de026acd3 | |
parent | 0c2eb90fc3d2526ec755d6945683d5503cb1264a [diff] |
Query performance: compute hashCode just-in-time For queries that output a lot of data to stdout, computing Event hashes turns out to be on the critical path as it's done eagerly on packets that are 4 KB or larger, but then never used. This does not use locking, so multiple threads attempting to get the hash code at the same time can race, and also see h != 0 on the first read, and then h == 0 on the second. Therefore, we need to use this construction, which makes the race benign. PiperOrigin-RevId: 257472502
{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.