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?
Asked
Active
Viewed 74 times
0
-
you will have to program in a mechanism into the executable itself. – Alexander Oct 25 '22 at 00:02
-
Thanks Alexander. How do I do that? – amu Oct 27 '22 at 12:55