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

Fix performance issue with subproperties #2355

Merged
merged 2 commits into from
Nov 7, 2023

Conversation

isaiahvita
Copy link
Contributor

When loading aws config profiles at scale, subproperty parsing does not scale. The bottleneck appears to be caused by calls to strings.FieldsFunc https://pkg.go.dev/strings#FieldsFunc

This call was replaced with similar functionality to achieve performance parity before subproperty parsing.

Fixes: #2353

@isaiahvita isaiahvita requested a review from a team as a code owner November 7, 2023 15:57
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.

Performance regression in profile parser
3 participants