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

String concatenation performance improvments #39

Merged
merged 6 commits into from
Oct 6, 2023
Merged

String concatenation performance improvments #39

merged 6 commits into from
Oct 6, 2023

Conversation

thenodon
Copy link
Member

@thenodon thenodon commented Oct 6, 2023

This is done by using string.Builder instead of naive + concatenation in creating the Prometheus exposition text output. Thanks to @camrossi for detecting this issue running on a large ACI installation

@thenodon thenodon merged commit 1711116 into master Oct 6, 2023
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