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

Allow selecting default sort method from command line

Open anntzer opened this issue 6 years ago • 2 comments

Usually I am mostly interested in sorting profiling results by OwnTime or TotalTime, so my workflow with py-spy is nearly always to press 3 or 4 right after launching it. It would be a small usability improvement if we could have something like py-spy --sort-by=OwnTime ....

anntzer avatar Jan 17 '19 19:01 anntzer

The latest version of py-spy (v0.2.0) defaults to column 3 now - not fully what you're looking for but hopefully a better default

benfred avatar Sep 23 '19 03:09 benfred

thanks :)

anntzer avatar Sep 23 '19 09:09 anntzer