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

Too much time waste on Labels::default #547

Open
taikulawo opened this issue Dec 18, 2024 · 1 comment
Open

Too much time waste on Labels::default #547

taikulawo opened this issue Dec 18, 2024 · 1 comment
Labels
C-util Component: utility classes and helpers. E-simple Effort: simple. T-bug Type: bug.

Comments

@taikulawo
Copy link

We found metrics-tracing-context use too much time on CPU cycle.
The callstack show Labels::default are in busyloop.

Labels(get_pool().pull_owned())

It maybe related EVaillant/lockfree-object-pool#5 (comment)

@tobz tobz added C-util Component: utility classes and helpers. E-simple Effort: simple. T-bug Type: bug. labels Dec 18, 2024
@tobz
Copy link
Member

tobz commented Dec 18, 2024

Yeah, lockfree-object-pool is likely not the best possible object pool we could be using here. I'm open to PRs for changing/improving things if you have a workload you can use to demonstrate the improvements to switching to something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-util Component: utility classes and helpers. E-simple Effort: simple. T-bug Type: bug.
Projects
None yet
Development

No branches or pull requests

2 participants