Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zstd: Improve memory usage on small streaming encodes #1007

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

klauspost
Copy link
Owner

@klauspost klauspost commented Sep 18, 2024

Very small streams will use EncodeAll internally when closing and no header has been written.

This will pull a new encoder from the async buffer.

Instead re-use the stream encoder.

Before:

BenchmarkMem/flush-32         	    1359	    837989 ns/op	 7376959 B/op	     109 allocs/op
BenchmarkMem/no-flush-32      	     129	   8884753 ns/op	112044489 B/op	     254 allocs/op

After:

BenchmarkMem/flush-32         	    1254	    922593 ns/op	 7376966 B/op	     109 allocs/op
BenchmarkMem/no-flush-32      	    1488	    841270 ns/op	 7374164 B/op	      29 allocs/op

Test is pretty much worst case, but shows the issue nicely.

Summary by CodeRabbit

  • New Features

    • Upgraded Go version to 1.22.0 for improved performance and compatibility.
    • Introduced new test functions to assess memory usage and performance during encoding.
  • Bug Fixes

    • Enhanced debug output control to reduce unnecessary logs during normal operations.
  • Refactor

    • Refactored encoding methods for better resource management and code organization.
  • Tests

    • Added tests for memory usage and performance metrics in the encoding process.

Very small streams will use EncodeAll internally when closing and no header has been written.

This will pull a new encoder from the async buffer.

Instead re-use the stream encoder.

Before:
```
BenchmarkMem/flush-32         	    1359	    837989 ns/op	 7376959 B/op	     109 allocs/op
BenchmarkMem/no-flush-32      	     129	   8884753 ns/op	112044489 B/op	     254 allocs/op
```

After:
```
BenchmarkMem/flush-32         	    1254	    922593 ns/op	 7376966 B/op	     109 allocs/op
BenchmarkMem/no-flush-32      	    1488	    841270 ns/op	 7374164 B/op	      29 allocs/op
```

Test is pretty much worst case, but shows the issue nicely.
@klauspost klauspost merged commit 26519f8 into master Sep 18, 2024
18 checks passed
@klauspost klauspost deleted the zstd-small-enc-usage branch September 18, 2024 10:34
@klauspost
Copy link
Owner Author

@coderabbitai review

Copy link

coderabbitai bot commented Sep 18, 2024

Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link

coderabbitai bot commented Sep 18, 2024

Caution

Review failed

The pull request is closed.

Walkthrough

Walkthrough

The changes encompass updates to several Go modules within the github.com/klauspost/compress repository. The go.mod files have been modified to upgrade the Go version and dependencies, while the source code files have seen enhancements in debugging output control and resource management in encoding processes. New test functions have been added to evaluate memory usage during encoding, improving the overall testing framework.

Changes

File(s) Change Summary
huff0/_generate/go.mod Updated Go version to 1.22.0, toolchain to go1.22.4, and modified several dependencies.
s2/cmd/_s2sx/go.mod Updated Go version to 1.21 and added toolchain version go1.22.4.
zstd/_generate/go.mod Updated Go version to 1.22.0, toolchain to go1.22.4, and modified several dependencies.
zstd/blockdec.go Added conditional debug print statement in prepareSequences function.
zstd/encoder.go Refactored EncodeAll method for better resource management and added new encodeAll method.
zstd/framedec.go Wrapped debug print statement in reset function with a conditional check for debugDecoder.
zstd/zstd_test.go Added TestWriterMemUsage for memory usage testing, along with helper functions for benchmarks.

Suggested reviewers

  • klauspost
  • coderabbitai

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    -- I pushed a fix in commit <commit_id>, please review it.
    -- Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    -- @coderabbitai generate unit testing code for this file.
    -- @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    -- @coderabbitai generate interesting stats about this repository and render them as a table.
    -- @coderabbitai read src/utils.ts and generate unit testing code.
    -- @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    -- @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

dmathieu referenced this pull request in open-telemetry/opentelemetry-go Sep 23, 2024
…5834)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/klauspost/compress](https://redirect.github.com/klauspost/compress)
| `v1.17.9` -> `v1.17.10` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fklauspost%2fcompress/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fklauspost%2fcompress/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fklauspost%2fcompress/v1.17.9/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fklauspost%2fcompress/v1.17.9/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>klauspost/compress (github.com/klauspost/compress)</summary>

###
[`v1.17.10`](https://redirect.github.com/klauspost/compress/releases/tag/v1.17.10)

[Compare
Source](https://redirect.github.com/klauspost/compress/compare/v1.17.9...v1.17.10)

#### What's Changed

- gzhttp: Add TransportAlwaysDecompress option. by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[klauspost/compress#978
- s2: Add EncodeBuffer buffer recycling callback by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[klauspost/compress#982
- zstd: Improve memory usage on small streaming encodes by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[klauspost/compress#1007
- gzhttp: Add supported decompress request body by
[@&#8203;mirecl](https://redirect.github.com/mirecl) in
[klauspost/compress#1002
- flate: read data written with partial flush by
[@&#8203;vajexal](https://redirect.github.com/vajexal) in
[klauspost/compress#996
- ci: Upgrade Go & other by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[klauspost/compress#1008
- docs: Small typofix in comment by
[@&#8203;Jille](https://redirect.github.com/Jille) in
[klauspost/compress#976
- build(deps): bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[klauspost/compress#979
- docs: Fix URL typo when installing builddict by
[@&#8203;Wikidepia](https://redirect.github.com/Wikidepia) in
[klauspost/compress#980
- build(deps): bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[klauspost/compress#985
- Fix typos by [@&#8203;deining](https://redirect.github.com/deining) in
[klauspost/compress#986
- build(deps): bump github/codeql-action from 3.25.15 to 3.26.6 in the
github-actions group by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[klauspost/compress#997

#### New Contributors

- [@&#8203;Wikidepia](https://redirect.github.com/Wikidepia) made their
first contribution in
[klauspost/compress#980
- [@&#8203;deining](https://redirect.github.com/deining) made their
first contribution in
[klauspost/compress#986
- [@&#8203;vajexal](https://redirect.github.com/vajexal) made their
first contribution in
[klauspost/compress#996
- [@&#8203;mirecl](https://redirect.github.com/mirecl) made their first
contribution in
[klauspost/compress#1002

**Full Changelog**:
klauspost/compress@v1.17.9...v1.17.10

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
dmathieu referenced this pull request in open-telemetry/opentelemetry-go-contrib Sep 23, 2024
…6146)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/klauspost/compress](https://redirect.github.com/klauspost/compress)
| `v1.17.9` -> `v1.17.10` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fklauspost%2fcompress/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fklauspost%2fcompress/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fklauspost%2fcompress/v1.17.9/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fklauspost%2fcompress/v1.17.9/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>klauspost/compress (github.com/klauspost/compress)</summary>

###
[`v1.17.10`](https://redirect.github.com/klauspost/compress/releases/tag/v1.17.10)

[Compare
Source](https://redirect.github.com/klauspost/compress/compare/v1.17.9...v1.17.10)

#### What's Changed

- gzhttp: Add TransportAlwaysDecompress option. by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/978](https://redirect.github.com/klauspost/compress/pull/978)
- s2: Add EncodeBuffer buffer recycling callback by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/982](https://redirect.github.com/klauspost/compress/pull/982)
- zstd: Improve memory usage on small streaming encodes by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/1007](https://redirect.github.com/klauspost/compress/pull/1007)
- gzhttp: Add supported decompress request body by
[@&#8203;mirecl](https://redirect.github.com/mirecl) in
[https://github.com/klauspost/compress/pull/1002](https://redirect.github.com/klauspost/compress/pull/1002)
- flate: read data written with partial flush by
[@&#8203;vajexal](https://redirect.github.com/vajexal) in
[https://github.com/klauspost/compress/pull/996](https://redirect.github.com/klauspost/compress/pull/996)
- ci: Upgrade Go & other by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/1008](https://redirect.github.com/klauspost/compress/pull/1008)
- docs: Small typofix in comment by
[@&#8203;Jille](https://redirect.github.com/Jille) in
[https://github.com/klauspost/compress/pull/976](https://redirect.github.com/klauspost/compress/pull/976)
- build(deps): bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/klauspost/compress/pull/979](https://redirect.github.com/klauspost/compress/pull/979)
- docs: Fix URL typo when installing builddict by
[@&#8203;Wikidepia](https://redirect.github.com/Wikidepia) in
[https://github.com/klauspost/compress/pull/980](https://redirect.github.com/klauspost/compress/pull/980)
- build(deps): bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/klauspost/compress/pull/985](https://redirect.github.com/klauspost/compress/pull/985)
- Fix typos by [@&#8203;deining](https://redirect.github.com/deining) in
[https://github.com/klauspost/compress/pull/986](https://redirect.github.com/klauspost/compress/pull/986)
- build(deps): bump github/codeql-action from 3.25.15 to 3.26.6 in the
github-actions group by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/klauspost/compress/pull/997](https://redirect.github.com/klauspost/compress/pull/997)

#### New Contributors

- [@&#8203;Wikidepia](https://redirect.github.com/Wikidepia) made their
first contribution in
[https://github.com/klauspost/compress/pull/980](https://redirect.github.com/klauspost/compress/pull/980)
- [@&#8203;deining](https://redirect.github.com/deining) made their
first contribution in
[https://github.com/klauspost/compress/pull/986](https://redirect.github.com/klauspost/compress/pull/986)
- [@&#8203;vajexal](https://redirect.github.com/vajexal) made their
first contribution in
[https://github.com/klauspost/compress/pull/996](https://redirect.github.com/klauspost/compress/pull/996)
- [@&#8203;mirecl](https://redirect.github.com/mirecl) made their first
contribution in
[https://github.com/klauspost/compress/pull/1002](https://redirect.github.com/klauspost/compress/pull/1002)

**Full Changelog**:
klauspost/compress@v1.17.9...v1.17.10

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
XSAM referenced this pull request in XSAM/otelsql Sep 23, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/klauspost/compress](https://redirect.github.com/klauspost/compress)
| `v1.17.9` -> `v1.17.10` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fklauspost%2fcompress/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fklauspost%2fcompress/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fklauspost%2fcompress/v1.17.9/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fklauspost%2fcompress/v1.17.9/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>klauspost/compress (github.com/klauspost/compress)</summary>

###
[`v1.17.10`](https://redirect.github.com/klauspost/compress/releases/tag/v1.17.10)

[Compare
Source](https://redirect.github.com/klauspost/compress/compare/v1.17.9...v1.17.10)

#### What's Changed

- gzhttp: Add TransportAlwaysDecompress option. by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/978](https://redirect.github.com/klauspost/compress/pull/978)
- s2: Add EncodeBuffer buffer recycling callback by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/982](https://redirect.github.com/klauspost/compress/pull/982)
- zstd: Improve memory usage on small streaming encodes by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/1007](https://redirect.github.com/klauspost/compress/pull/1007)
- gzhttp: Add supported decompress request body by
[@&#8203;mirecl](https://redirect.github.com/mirecl) in
[https://github.com/klauspost/compress/pull/1002](https://redirect.github.com/klauspost/compress/pull/1002)
- flate: read data written with partial flush by
[@&#8203;vajexal](https://redirect.github.com/vajexal) in
[https://github.com/klauspost/compress/pull/996](https://redirect.github.com/klauspost/compress/pull/996)
- ci: Upgrade Go & other by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/1008](https://redirect.github.com/klauspost/compress/pull/1008)
- docs: Small typofix in comment by
[@&#8203;Jille](https://redirect.github.com/Jille) in
[https://github.com/klauspost/compress/pull/976](https://redirect.github.com/klauspost/compress/pull/976)
- build(deps): bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/klauspost/compress/pull/979](https://redirect.github.com/klauspost/compress/pull/979)
- docs: Fix URL typo when installing builddict by
[@&#8203;Wikidepia](https://redirect.github.com/Wikidepia) in
[https://github.com/klauspost/compress/pull/980](https://redirect.github.com/klauspost/compress/pull/980)
- build(deps): bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/klauspost/compress/pull/985](https://redirect.github.com/klauspost/compress/pull/985)
- Fix typos by [@&#8203;deining](https://redirect.github.com/deining) in
[https://github.com/klauspost/compress/pull/986](https://redirect.github.com/klauspost/compress/pull/986)
- build(deps): bump github/codeql-action from 3.25.15 to 3.26.6 in the
github-actions group by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/klauspost/compress/pull/997](https://redirect.github.com/klauspost/compress/pull/997)

#### New Contributors

- [@&#8203;Wikidepia](https://redirect.github.com/Wikidepia) made their
first contribution in
[https://github.com/klauspost/compress/pull/980](https://redirect.github.com/klauspost/compress/pull/980)
- [@&#8203;deining](https://redirect.github.com/deining) made their
first contribution in
[https://github.com/klauspost/compress/pull/986](https://redirect.github.com/klauspost/compress/pull/986)
- [@&#8203;vajexal](https://redirect.github.com/vajexal) made their
first contribution in
[https://github.com/klauspost/compress/pull/996](https://redirect.github.com/klauspost/compress/pull/996)
- [@&#8203;mirecl](https://redirect.github.com/mirecl) made their first
contribution in
[https://github.com/klauspost/compress/pull/1002](https://redirect.github.com/klauspost/compress/pull/1002)

**Full Changelog**:
klauspost/compress@v1.17.9...v1.17.10

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/XSAM/otelsql).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
codeboten referenced this pull request in open-telemetry/opentelemetry-collector Sep 24, 2024
…11256)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/klauspost/compress](https://redirect.github.com/klauspost/compress)
| `v1.17.9` -> `v1.17.10` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fklauspost%2fcompress/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fklauspost%2fcompress/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fklauspost%2fcompress/v1.17.9/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fklauspost%2fcompress/v1.17.9/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>klauspost/compress (github.com/klauspost/compress)</summary>

###
[`v1.17.10`](https://redirect.github.com/klauspost/compress/releases/tag/v1.17.10)

[Compare
Source](https://redirect.github.com/klauspost/compress/compare/v1.17.9...v1.17.10)

#### What's Changed

- gzhttp: Add TransportAlwaysDecompress option. by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/978](https://redirect.github.com/klauspost/compress/pull/978)
- s2: Add EncodeBuffer buffer recycling callback by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/982](https://redirect.github.com/klauspost/compress/pull/982)
- zstd: Improve memory usage on small streaming encodes by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/1007](https://redirect.github.com/klauspost/compress/pull/1007)
- gzhttp: Add supported decompress request body by
[@&#8203;mirecl](https://redirect.github.com/mirecl) in
[https://github.com/klauspost/compress/pull/1002](https://redirect.github.com/klauspost/compress/pull/1002)
- flate: read data written with partial flush by
[@&#8203;vajexal](https://redirect.github.com/vajexal) in
[https://github.com/klauspost/compress/pull/996](https://redirect.github.com/klauspost/compress/pull/996)
- ci: Upgrade Go & other by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/1008](https://redirect.github.com/klauspost/compress/pull/1008)
- docs: Small typofix in comment by
[@&#8203;Jille](https://redirect.github.com/Jille) in
[https://github.com/klauspost/compress/pull/976](https://redirect.github.com/klauspost/compress/pull/976)
- build(deps): bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/klauspost/compress/pull/979](https://redirect.github.com/klauspost/compress/pull/979)
- docs: Fix URL typo when installing builddict by
[@&#8203;Wikidepia](https://redirect.github.com/Wikidepia) in
[https://github.com/klauspost/compress/pull/980](https://redirect.github.com/klauspost/compress/pull/980)
- build(deps): bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/klauspost/compress/pull/985](https://redirect.github.com/klauspost/compress/pull/985)
- Fix typos by [@&#8203;deining](https://redirect.github.com/deining) in
[https://github.com/klauspost/compress/pull/986](https://redirect.github.com/klauspost/compress/pull/986)
- build(deps): bump github/codeql-action from 3.25.15 to 3.26.6 in the
github-actions group by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/klauspost/compress/pull/997](https://redirect.github.com/klauspost/compress/pull/997)

#### New Contributors

- [@&#8203;Wikidepia](https://redirect.github.com/Wikidepia) made their
first contribution in
[https://github.com/klauspost/compress/pull/980](https://redirect.github.com/klauspost/compress/pull/980)
- [@&#8203;deining](https://redirect.github.com/deining) made their
first contribution in
[https://github.com/klauspost/compress/pull/986](https://redirect.github.com/klauspost/compress/pull/986)
- [@&#8203;vajexal](https://redirect.github.com/vajexal) made their
first contribution in
[https://github.com/klauspost/compress/pull/996](https://redirect.github.com/klauspost/compress/pull/996)
- [@&#8203;mirecl](https://redirect.github.com/mirecl) made their first
contribution in
[https://github.com/klauspost/compress/pull/1002](https://redirect.github.com/klauspost/compress/pull/1002)

**Full Changelog**:
klauspost/compress@v1.17.9...v1.17.10

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
codeboten referenced this pull request in open-telemetry/opentelemetry-collector-contrib Sep 24, 2024
…35385)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/klauspost/compress](https://redirect.github.com/klauspost/compress)
| `v1.17.9` -> `v1.17.10` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fklauspost%2fcompress/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fklauspost%2fcompress/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fklauspost%2fcompress/v1.17.9/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fklauspost%2fcompress/v1.17.9/v1.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>klauspost/compress (github.com/klauspost/compress)</summary>

###
[`v1.17.10`](https://redirect.github.com/klauspost/compress/releases/tag/v1.17.10)

[Compare
Source](https://redirect.github.com/klauspost/compress/compare/v1.17.9...v1.17.10)

#### What's Changed

- gzhttp: Add TransportAlwaysDecompress option. by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/978](https://redirect.github.com/klauspost/compress/pull/978)
- s2: Add EncodeBuffer buffer recycling callback by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/982](https://redirect.github.com/klauspost/compress/pull/982)
- zstd: Improve memory usage on small streaming encodes by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/1007](https://redirect.github.com/klauspost/compress/pull/1007)
- gzhttp: Add supported decompress request body by
[@&#8203;mirecl](https://redirect.github.com/mirecl) in
[https://github.com/klauspost/compress/pull/1002](https://redirect.github.com/klauspost/compress/pull/1002)
- flate: read data written with partial flush by
[@&#8203;vajexal](https://redirect.github.com/vajexal) in
[https://github.com/klauspost/compress/pull/996](https://redirect.github.com/klauspost/compress/pull/996)
- ci: Upgrade Go & other by
[@&#8203;klauspost](https://redirect.github.com/klauspost) in
[https://github.com/klauspost/compress/pull/1008](https://redirect.github.com/klauspost/compress/pull/1008)
- docs: Small typofix in comment by
[@&#8203;Jille](https://redirect.github.com/Jille) in
[https://github.com/klauspost/compress/pull/976](https://redirect.github.com/klauspost/compress/pull/976)
- build(deps): bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/klauspost/compress/pull/979](https://redirect.github.com/klauspost/compress/pull/979)
- docs: Fix URL typo when installing builddict by
[@&#8203;Wikidepia](https://redirect.github.com/Wikidepia) in
[https://github.com/klauspost/compress/pull/980](https://redirect.github.com/klauspost/compress/pull/980)
- build(deps): bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/klauspost/compress/pull/985](https://redirect.github.com/klauspost/compress/pull/985)
- Fix typos by [@&#8203;deining](https://redirect.github.com/deining) in
[https://github.com/klauspost/compress/pull/986](https://redirect.github.com/klauspost/compress/pull/986)
- build(deps): bump github/codeql-action from 3.25.15 to 3.26.6 in the
github-actions group by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/klauspost/compress/pull/997](https://redirect.github.com/klauspost/compress/pull/997)

#### New Contributors

- [@&#8203;Wikidepia](https://redirect.github.com/Wikidepia) made their
first contribution in
[https://github.com/klauspost/compress/pull/980](https://redirect.github.com/klauspost/compress/pull/980)
- [@&#8203;deining](https://redirect.github.com/deining) made their
first contribution in
[https://github.com/klauspost/compress/pull/986](https://redirect.github.com/klauspost/compress/pull/986)
- [@&#8203;vajexal](https://redirect.github.com/vajexal) made their
first contribution in
[https://github.com/klauspost/compress/pull/996](https://redirect.github.com/klauspost/compress/pull/996)
- [@&#8203;mirecl](https://redirect.github.com/mirecl) made their first
contribution in
[https://github.com/klauspost/compress/pull/1002](https://redirect.github.com/klauspost/compress/pull/1002)

**Full Changelog**:
klauspost/compress@v1.17.9...v1.17.10

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant