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

Close spans before plotting output. #26

Open
LuisAyuso opened this issue Aug 13, 2017 · 0 comments
Open

Close spans before plotting output. #26

LuisAyuso opened this issue Aug 13, 2017 · 0 comments

Comments

@LuisAyuso
Copy link

I am currently profiling some graphics code and I saw that currently open spans are not plotted in the output and this produces misleading stack plots.

I wrote a counter for a short number of frames and after that, I plot the flamegraph (html) and I shout down the application. This call happens inside of the function that renders the current frame and therefore is being profiled. the span is not present in the plot, although the nested ones (already finished) are.

I know that this is not the most pretty coding style, but since it can be written: flame should do the right job here... the question is how.

Anyhow, great job here. It is a very nice tool, especially when used with flamer.

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