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 what an ideal scope pool size is #313

Open
dphfox opened this issue Feb 3, 2024 · 1 comment
Open

Test what an ideal scope pool size is #313

dphfox opened this issue Feb 3, 2024 · 1 comment
Labels
enhancement New feature or request not ready - investigating We need to test this idea to figure out if it's good

Comments

@dphfox
Copy link
Owner

dphfox commented Feb 3, 2024

In #312 (later implemented by #273) a scope pool was implemented, to facilitate reuse of empty allocations across objects and reduce the load on the memory allocator when processing many callbacks that may or may not require the use of a scope.

Right now up to 16 scopes can be saved at a time, but testing is required to verify what an optimal number looks like for a realistic program.

@dphfox dphfox added enhancement New feature or request not ready - investigating We need to test this idea to figure out if it's good labels Feb 3, 2024
@dphfox dphfox added this to Fusion 0.3 Feb 3, 2024
@dphfox dphfox moved this to Prospective in Fusion 0.3 Feb 3, 2024
@dphfox
Copy link
Owner Author

dphfox commented Feb 3, 2024

It would also be good to do ablation to compare against a baseline implementation which does not reuse scopes in this manner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request not ready - investigating We need to test this idea to figure out if it's good
Projects
Status: Prospective
Development

No branches or pull requests

1 participant