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

feat: use iodata for metrics export #586

Merged
merged 1 commit into from
Feb 3, 2025
Merged

Conversation

hauleth
Copy link
Member

@hauleth hauleth commented Jan 30, 2025

This prevents memory bloat form creating all intermediate binaries that are later dropped. Instead we try to reuse as much of binaries as possible and then let the VM do the concatenation if needed.

@hauleth hauleth requested a review from a team as a code owner January 30, 2025 11:48
@hauleth hauleth force-pushed the use-iodata-for-metrics branch from 0062e1c to cb49404 Compare January 30, 2025 12:00
Copy link
Contributor

@abc3 abc3 left a comment

Choose a reason for hiding this comment

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

it would be nice to add more tests to ensure it works properly

@hauleth hauleth force-pushed the use-iodata-for-metrics branch 4 times, most recently from 2e5f303 to f46fe8f Compare February 3, 2025 11:04
This prevents memory bloat form creating all intermediate binaries that
are later dropped. Instead we try to reuse as much of binaries as
possible and then let the VM do the concatenation if needed.
@hauleth hauleth force-pushed the use-iodata-for-metrics branch from f46fe8f to 6f2e8c1 Compare February 3, 2025 11:30
@hauleth hauleth merged commit 6772c8f into main Feb 3, 2025
7 of 8 checks passed
@hauleth hauleth deleted the use-iodata-for-metrics branch February 3, 2025 11:51
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.

3 participants