You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of these are correctly ignored as invalid lines by inferno-flamegraph, but some (like # duration: 695345) look enough like a valid sample to end up in the output svg. I think the original perl version correctly identifies all of them as invalid, since it uses a strict regex to parse lines.
It's fairly trivial to work around this with a sed '/^#/d', but it would be nice for austin and inferno-flamegraph to work together smoothly.
Would you accept a PR to filter out all lines which begin with # in inferno-flamegraph?
Thanks
The text was updated successfully, but these errors were encountered:
The austin Python profiler includes some metadata as "comments" in its output, e.g.:
Most of these are correctly ignored as invalid lines by
inferno-flamegraph
, but some (like# duration: 695345
) look enough like a valid sample to end up in the output svg. I think the original perl version correctly identifies all of them as invalid, since it uses a strict regex to parse lines.It's fairly trivial to work around this with a
sed '/^#/d'
, but it would be nice foraustin
andinferno-flamegraph
to work together smoothly.Would you accept a PR to filter out all lines which begin with
#
ininferno-flamegraph
?Thanks
The text was updated successfully, but these errors were encountered: