1

How to profile a python module runs by command python -m foo.bar?

Seems that python -m foo.bar -m cProfile -o test.out is totally weird, and doesn't work here.

Wizmann
  • 839
  • 1
  • 9
  • 14
  • The linked duplicate provides a workaround. There is an [open Python issue](https://bugs.python.org/issue9325) about this but it seems to have stalled. – BrenBarn Apr 17 '17 at 18:33

0 Answers0