commit | ebca24c525ec93f34bb65053370376082765d800 | [log] [tgz] |
---|---|---|
author | ulfjack <ulfjack@google.com> | Tue Jul 02 05:20:38 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Jul 02 05:21:33 2019 -0700 |
tree | e1d038811ba3d846a41de03f7745f8819e9a7939 | |
parent | 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6 [diff] |
Query performance: Reverse output buffering Instead of converting String -> byte[] first and then buffering, buffer the String data, and then convert. Bulk conversion is generally more performant than converting each little piece individually, and also allows us to avoid constructing intermediate String instances that are immediately thrown away. Writer is the intended API for writing character data, PrintStream is not. I don't see a significant performance difference with this change by itself, or maybe even a slight regression, but I think it's still worthwhile, as I can see an improvement in combination with some other (otherwise unrelated) changes. PiperOrigin-RevId: 256145525
{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.