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(dataobj): pool instances of dataobj encoders #16166

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Feb 10, 2025

While #16146 moved the final buffers used by dataobj builders to a shared pool, there was one remaining source of persistent memory footprint per builder: encoding.Encoder instances.

As encoding is an infrequent operation, builders do not need to persist implementations of encoding.Encoder, and instances can be shared across builders to reduce overhead.

While grafana#16146 moved the final buffers used by dataobj
builders to a shared pool, there was one remaining source of persistent
memory footprint per builder: encoding.Encoder instances.

As encoding is an infrequent operation, builders do not need to persist
implementations of encoding.Encoder, and instances can be shared across
builders to reduce overhead.
@rfratto rfratto requested a review from a team as a code owner February 10, 2025 17:02
@rfratto rfratto merged commit f71fc8a into grafana:main Feb 10, 2025
59 checks passed
@rfratto rfratto deleted the dataobj-pool-encoders branch February 10, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants