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

perf: reduce allocs when reading credential files #3111

Merged
merged 1 commit into from
Aug 19, 2024
Merged

perf: reduce allocs when reading credential files #3111

merged 1 commit into from
Aug 19, 2024

Conversation

cgrinds
Copy link
Collaborator

@cgrinds cgrinds commented Aug 16, 2024

refactor: remove cyclic dependency in logging

refactor: remove cyclic dependency in logging
@cgrinds
Copy link
Collaborator Author

cgrinds commented Aug 16, 2024

Before/after allocations of ReadCredentialFile after running for 1 hour.

Result Mem
Before 456 MB
After 3.5 MB

130x improvement

@Hardikl Hardikl merged commit 504a2c1 into main Aug 19, 2024
6 checks passed
@Hardikl Hardikl deleted the cbg-cred branch August 19, 2024 08:33
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