py-spy icon indicating copy to clipboard operation
py-spy copied to clipboard

Infer format from output filename extension

Open gjoseph92 opened this issue 4 years ago • 0 comments

The converse of https://github.com/benfred/py-spy/issues/229: I prefer speedscope format, so it would be nice to just be able to type py-spy record -o profile.json and not also have to add -f speedscope. Or to not get accidentally get an SVG flamegraph named profile.json :)

gjoseph92 avatar Sep 08 '21 22:09 gjoseph92