| commit | 4bf9dc097f7afa8bd5b0c5e792192784ac939841 | [log] [tgz] |
|---|---|---|
| author | jingwen <jingwen@google.com> | Mon Jan 19 01:46:51 2026 -0800 |
| committer | Copybara-Service <copybara-worker@google.com> | Mon Jan 19 01:47:55 2026 -0800 |
| tree | 228e81d172eb9f6cd58ff8301c101649d6f24cf8 | |
| parent | bb2427c52165b1a4ea9096263b7fafce631f397e [diff] |
Use `RecyclingBufferPool` for `ZstdOutputStream` in `SharedValueSerializationContext`. This change optimizes `maybeCompressBytes` during serialization to reuse buffers, resulting in reduced GC pressure (__-11.6% eden, -71.9% old gen__), which dramatically improves (on one internal benchmark): * wall time: __-33.6%__ * cpu time: __-12.9%__ * peak heap: __-4%__ * retained heap: __-1.4%__ PiperOrigin-RevId: 858082743 Change-Id: I6ba58fccd0182644e0170e897704c1c2f313c4d5
{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:
To report a security issue, please email security@bazel.build with a description of the issue, the steps you took to create the issue, affected versions, and, if known, mitigations for the issue. Our vulnerability management team will respond within 3 working days of your email. If the issue is confirmed as a vulnerability, we will open a Security Advisory. This project follows a 90 day disclosure timeline.
See CONTRIBUTING.md