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

Remove extra Proc allocation from metrics sync. #47

Merged
merged 1 commit into from
Mar 3, 2017

Conversation

Strech
Copy link
Contributor

@Strech Strech commented Mar 3, 2017

Tiny improvement on objects allocations

@coveralls
Copy link

coveralls commented Mar 3, 2017

Coverage Status

Coverage remained the same at 98.986% when pulling cacace1 on Strech:remove-extra-proc-allocation into a2e0c63 on prometheus:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at 98.986% when pulling cacace1 on Strech:remove-extra-proc-allocation into a2e0c63 on prometheus:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 98.986% when pulling cacace1 on Strech:remove-extra-proc-allocation into a2e0c63 on prometheus:master.

@grobie
Copy link
Member

grobie commented Mar 3, 2017

Whooops. Thanks for catching that, I just checked with benchmark-memory and it's clearly visible. Also that we do a lot of other unnecessary allocations sadly.

Please note that the library will be completely rewritten to account for #35 (which will help a long way with the performance issues) as well as #36 and following the client library guidelines in general.

@grobie grobie merged commit 105c60c into prometheus:master Mar 3, 2017
@Strech Strech deleted the remove-extra-proc-allocation branch March 6, 2017 10:53
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