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

receiver/awsfirehosereceiver: optimise cwlogs unmarshaler #37111

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

axw
Copy link
Contributor

@axw axw commented Jan 9, 2025

Description

Avoid allocating intermediate byte slices for decompressing and iterating through newline-delimited JSON.

Link to tracking issue

N/A

Testing

Non-functional change, run the unit tests.
Added a new microbenchmark for the unmarshaler in question.

Documentation

N/A

@github-actions github-actions bot requested a review from Aneurysm9 January 9, 2025 08:23
@axw axw force-pushed the awsfirehosereceiver-cwlogs-opt branch from 060b41d to c254d95 Compare January 9, 2025 08:23
@axw axw changed the title receiver/awwsfirehosereceiver: optimise cwlogs unmarshaler receiver/awsfirehosereceiver: optimise cwlogs unmarshaler Jan 9, 2025
@axw axw marked this pull request as ready for review January 9, 2025 09:19
@axw axw requested a review from a team as a code owner January 9, 2025 09:19
@axw axw requested a review from songy23 January 9, 2025 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants