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

Reduce memory allocations #384

Open
MilesCranmer opened this issue Dec 10, 2024 · 0 comments
Open

Reduce memory allocations #384

MilesCranmer opened this issue Dec 10, 2024 · 0 comments

Comments

@MilesCranmer
Copy link
Owner

I think a lot of the remaining performance is due to garbage collection. This is a bit hard to benchmark in a "microbenchmarks" style approach since a different thread is handling garbage collection. So in this issue it would be useful to record what the biggest allocation source is, and try to reduce it. My guess is that it's from eval_tree_array - in which case, we should try to preallocate memory for it.

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

No branches or pull requests

1 participant