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

Benchmark dynamic dispatch performance characteristics #116

Closed
kzu opened this issue Jan 29, 2024 · 0 comments
Closed

Benchmark dynamic dispatch performance characteristics #116

kzu opened this issue Jan 29, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@kzu
Copy link
Member

kzu commented Jan 29, 2024

Without dynamic dispatch for public types:

image

With dynamic dispatch for public types:

image

It looks like dynamic dispatch improves significantly the allocation profile with marginal performance benefit too.

So we'll keep it for now.

@kzu kzu added the documentation Improvements or additions to documentation label Jan 29, 2024
kzu added a commit that referenced this issue Jan 29, 2024
But keep it enabled for now, since bechmarks show it has a possitive effect in allocations and performance.

Closes #116
kzu added a commit that referenced this issue Jan 29, 2024
But keep it enabled for now, since bechmarks show it has a possitive effect in allocations and performance.

Closes #116
@kzu kzu closed this as completed in a98c576 Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant