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

Test Allocations #177

Closed
lukem12345 opened this issue Nov 6, 2023 · 0 comments · Fixed by #227
Closed

Test Allocations #177

lukem12345 opened this issue Nov 6, 2023 · 0 comments · Fixed by #227
Labels
enhancement New feature or request

Comments

@lukem12345
Copy link
Member

For some physics in which we expect there to be 0 allocations, we should explicitly and programmatically test that there are no allocations.

A simple test is that of the heat equation written with 2 Vars and 2 Op1s.

For some physics in which we expect there to be nonzero allocations, we should ... test that the expected number/ size of allocations occurs.

Further, it would be nice to check whether the performance in the latter case can be improved if we provide a heuristically-derived value to be passed to sizehint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant