You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by GitBox <gi...@apache.org> on 2026/10/18 02:15:10 UTC

[GH] (pekko-grpc/main): Workflow run "Nightly Snapshot Dependency Test (1.x)" failed!

The GitHub Actions job "Nightly Snapshot Dependency Test (1.x)" on pekko-grpc.git/main has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
a670bbcec5b3f00d6ec01be1d34edeae0bba8dbd / PJ Fanning <pj...@users.noreply.github.com>
Avoid buffer copies with a non-synchronized ByteStringOutputStream (#907)

* Avoid buffer copy on Gzip compress/uncompress.

* Use the non-synchronized ByteStringOutputStream from Pekko HTTP.

Copied from apache/pekko-http http-core ByteStringOutputStream, which hands the
buffered data over as a ByteString without copying and avoids the synchronized
writes of ByteArrayOutputStream.

Co-Authored-By: Claude Opus 5.5 <no...@anthropic.com>

* Avoid private[this], which Scala 3.9 warns about.

Co-Authored-By: Claude Opus 5.5 <no...@anthropic.com>

* Add a benchmark for gzip and InputStream buffering.

Motivation:
The buffers used by Gzip.compress, Gzip.uncompress and
ByteStringUtils.fromInputStream had no benchmark, so changes to them
could not be measured.

Modification:
Add GzipBenchmark, covering compress, uncompress and fromInputStream
for 1 KiB, 64 KiB and 1 MiB payloads.

Result:
The ByteStringOutputStream change can be compared with main.

Tests:
- sbt benchmarks/Jmh/compile: passed
- sbt "benchmarks/Jmh/run -prof gc org.apache.pekko.grpc.GzipBenchmark": run on main and this branch

References:
Refs #905

* Avoid deprecated = _ initializers in GzipBenchmark.

Scala 3.9 deprecates them, which fails the next build under -Werror.

---------

Co-authored-by: Tim Whittington <ti...@indexity.io>
Co-authored-by: Claude Opus 5.5 <no...@anthropic.com>
Co-authored-by: PJ Fanning <fa...@gmail.com>

Report URL: https://github.com/apache/pekko-grpc/actions/runs/39089179227

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org