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

22173: Improves performance by implementing thread local allocations #310

Merged
merged 37 commits into from
Nov 25, 2024

Conversation

naricc
Copy link
Contributor

@naricc naricc commented Nov 25, 2024

This is an improvement to performance of memroy management in amalgam. It changes allocation of EvaluableNodes so that we first try to allocate from a thread local buffer; only if that buffer is empty do we try to allocate from the EvaluableNodeManager pool. When eagerly freeing nodes, we also put them back in the thread local buffer.

@naricc naricc requested a review from a team as a code owner November 25, 2024 18:22
@howsohazard howsohazard changed the title 22173 Thread Local Allocation 22173: Improves performance by implementing thread local allocations Nov 25, 2024
@howsohazard howsohazard merged commit edd4acb into main Nov 25, 2024
26 checks passed
@howsohazard howsohazard deleted the 22173-thread-local-allocation branch November 25, 2024 22:54
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