➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Anders.Hovmöller
Recipients Anders.Hovmöller
Date 2018-10-01.11:13:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538392397.89.0.545547206417.issue34861@psf.upfronthosting.co.za>
In-reply-to
Content
The standard output for cProfile when run from a command line is not very useful. It has two main flaws:

- Default sort order is by name of function
- It strips the full path of source files

The first makes it very hard to look at the output. The second is very annoying when you get a bunch of __init__.py in the output.

Suggested solution:

- Default cumulative time sort order
- Show one additional folder level when filename is __main__ or __init__
History
Date User Action Args
2018-10-01 11:13:17Anders.Hovmöllersetrecipients: + Anders.Hovmöller
2018-10-01 11:13:17Anders.Hovmöllersetmessageid: <1538392397.89.0.545547206417.issue34861@psf.upfronthosting.co.za>
2018-10-01 11:13:17Anders.Hovmöllerlinkissue34861 messages
2018-10-01 11:13:17Anders.Hovmöllercreate