The GitHub Actions job "Pull Requests" on pekko.git/jackson-zstd-compression 
has failed.
Run started by GitHub user pjfanning (triggered by pjfanning).

Head commit for run:
37a31f55e5c235270c0285f3cb01160b92cc8ba9 / PJ Fanning 
<[email protected]>
Avoid extra copies and small buffers in Jackson lz4 and gzip compression

Motivation:
lz4 compression copied the compressed bytes twice (trimming, then
prepending the header) and the gzip streams used their default 512 byte
buffer.

Modification:
- Compress lz4 directly after the header in one array, which is only
  copied once to trim it. The wire format is unchanged.
- Use 4 KiB buffers for GZIPOutputStream and GZIPInputStream.

Result:
Less copying and fewer small writes when compressing payloads.

Tests:
- sbt "serialization-jackson/test" "serialization-jackson3/test": passed,
  including a check that lz4 payloads are unchanged byte for byte
- sbt "serialization-jackson/mimaReportBinaryIssues": passed

References:
Refs #3641

Report URL: https://github.com/apache/pekko/actions/runs/39802277990

With regards,
GitHub Actions via GitBox


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

Reply via email to