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

profiling: cache symbol key interval #197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arfio
Copy link
Contributor

@arfio arfio commented Dec 9, 2024

To resolve symbols, the method retrieveSymbolKeyAt will query a symbol key attribute for every interval in a query2d. This creates a significant overhead that can easily be avoided if we cache this interval. For all current use cases, the symbol key interval is unique for each trace.

To resolve symbols, the method retrieveSymbolKeyAt will query a symbol
key attribute for every interval in a query2d. This create a significant
overhead that can easily be avoided if we cache this interval. For all
current use cases, the symbol key interval is unique for each trace.

Signed-off-by: Arnaud Fiorini <fiorini.arnaud@gmail.com>
Copy link
Contributor

@MatthewKhouzam MatthewKhouzam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, can I have a trace before and after? I would love to play with execution comparisons.

@arfio
Copy link
Contributor Author

arfio commented Dec 10, 2024

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