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.
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.