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

Allocate constrain label values on stack, not heap for performance #1465

Closed
wants to merge 1 commit into from

Conversation

AnshulMalik
Copy link

No description provided.

@AnshulMalik AnshulMalik changed the title Allocate constain label values on stack, not heap for performance Allocate constrain label values on stack, not heap for performance Mar 13, 2024
Signed-off-by: Anshul <malikanshul29@gmail.com>
@ArthurSens
Copy link
Member

Hey 👋 , pardon my ignorance, could you update your PR description mentioning how this change improves performance? I saw the title mentions that we're now allocating label values on the stack instead oh the heap, but I couldn't understand why that happens.

Does it make sense to share a pprof profile or benchmarks?

@AnshulMalik
Copy link
Author

Hey, this PR accomplishes similar thing, I'll close the PR now.
#1272

@AnshulMalik AnshulMalik deleted the constrain_heap branch March 20, 2024 10:22
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.

None yet

2 participants