-
Notifications
You must be signed in to change notification settings - Fork 129
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
0.7 -> 0.9 upgrade caused reduced svg fidelity #153
Comments
Hmm, interesting. I suspect this is due to #136. @jasonrhansen could you take a look? @liaden could you try generating the flamegraph with |
Just removing https://github.com/rbspy/rbspy/blob/master/src/ui/flamegraph.rs#L35 to take the default value, it works as expected. |
Ah, interesting! Yes, the meaning of |
Yeah, it definitely seems more appropriate to change on rbspy side.
Did you mean now? |
Ah, yes, sorry, now 😅 |
I'll close this then since it is not an issue on the inferno side of things. Thanks for the report though! |
See also jonhoo#153. PR jonhoo#136 changed the semantics of the `--minwidth` option from output pixel width to percentage width (which is effectively the same as pct of total samples), which greatly reduced the default fidelity of flamegraphs as 0.1% of total time is quite coarse, especially once you start zooming in. This PR reduces the default to 0.01%, which produces pretty much identical output as flamegraph.pl / old inferno at ~1200px wide and includes a much greater number of bars. I think this change is worth making as it makes it reduces friction for people migrating from flamegraph.pl, and in my tests produces much more useful output by default. I've also updated the description of the option to match the current behaviour, as it still mentioned pixels and that had me confused for a good while.
I noticed this on rbspy specifically: rbspy/rbspy#239
The text was updated successfully, but these errors were encountered: