Skip to content

Conversation

@chibenwa
Copy link
Contributor

@chibenwa chibenwa commented Nov 8, 2022

Small but easy gains...

On a typical applicative workload, 0.53% of CPU is spend resolving
configuration profiles. By getting the profile first and failing if it
is null we can easily cut that in half.
We could easily get a dedicated field for the default profile thus
avoiding recurring maps lookups.
Copy link
Contributor

@absurdfarce absurdfarce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good to me. A couple fairly small things I'd like to get @chibenwa 's feedback on but none of it is essential; I'd be fine putting this in as it stands.

@absurdfarce
Copy link
Contributor

Looks good! Thanks (again) @chibenwa!

@absurdfarce absurdfarce merged commit 97d9c4c into apache:4.x Nov 18, 2022
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.

2 participants