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

[chore] add receiver adapter benchmark tests #35833

Merged

Conversation

bacherfl
Copy link
Contributor

Description

This PR introduces a benchmark test for the receiver adapter which tests the performance of handling the log entries sent to the LogEmitter, which are then received and converted by the receiver adapter. The changes have been made based on the comment linked here: #35669 (comment)

Link to tracking issue

Part of #35453

Testing

Added additional benchmark tests

Copy link
Member

@djaglowski djaglowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for putting this together @bacherfl.

This looks good. The one thing we should consider is the content of the log. I think an empty log will bypass a lot of the conversion and batching logic, so we may need to find a more complex structure. The simplicity of the input operator itself is great though. The entry/entries should probably be pre-generated so that we're not measuring the work of creating them.

Signed-off-by: Florian Bacher <[email protected]>
@bacherfl
Copy link
Contributor Author

Thanks for the review @djaglowski! I have updated the PR now to generate a complex log entry which will be used by the input operator during the tests

@bacherfl bacherfl marked this pull request as ready for review October 17, 2024 06:11
@bacherfl bacherfl requested a review from a team as a code owner October 17, 2024 06:11
@bacherfl bacherfl requested a review from mwear October 17, 2024 06:11
@djaglowski djaglowski merged commit 6a343fe into open-telemetry:main Oct 24, 2024
158 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 24, 2024
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.

3 participants