-
Notifications
You must be signed in to change notification settings - Fork 2
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
Performance Issue for Single Thread on LinearObjectPool #5
Comments
Maybe :
which pool do you use Pool<Test> ? |
When using |
I add a bench with your test case https://evaillant.github.io/lockfree-object-pool/benches/criterion/reuse/report/index.html |
Same here, metrics-tracing-context use lockfree-object-pool to create lockfree-object-pool/src/page.rs Line 70 in 67952a4
|
Based on the docs this doesn't look right. I am getting much slower numbers with
LinearObjectPool
.Edit:
After looking at the code, I can see that the pages are a linked list so as pages become occupied the time required to find a new page increases. I suppose this is to be expected.
Here is the test:
The text was updated successfully, but these errors were encountered: