Message326793
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__ |
|
| Date |
User |
Action |
Args |
| 2018-10-01 11:13:17 | Anders.Hovmöller | set | recipients:
+ Anders.Hovmöller |
| 2018-10-01 11:13:17 | Anders.Hovmöller | set | messageid: <1538392397.89.0.545547206417.issue34861@psf.upfronthosting.co.za> |
| 2018-10-01 11:13:17 | Anders.Hovmöller | link | issue34861 messages |
| 2018-10-01 11:13:17 | Anders.Hovmöller | create | |
|