python exe program created using pyinstaller how do I profile the whole program using commandline -m cProfile

130 Views Asked by At

usually i do python -m cProfile myapp.py to run profiling. i used pyinstaller my.spec --dist mydir --noconfirm and created mydir/myapp an executable program now i would like to run cProfile myapp and see the pstats. how do I do that on this executable program?

0

There are 0 best solutions below