The GitHub Actions job "Link Validator" on pekko-grpc.git/main has failed.
Run started by GitHub user pjfanning (triggered by pjfanning).

Head commit for run:
a670bbcec5b3f00d6ec01be1d34edeae0bba8dbd / PJ Fanning 
<[email protected]>
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 <[email protected]>

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

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* 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 <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: PJ Fanning <[email protected]>

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to