开发者

Profile python program that forks itself as a daemon

开发者 https://www.devze.com 2023-01-21 04:46 出处:网络
Is it possible to run cprofile on a mult-threaded python program that forks itself into a daemon process? I know you can make it work on multi开发者_StackOverflow thread, but I haven\'t seen anything

Is it possible to run cprofile on a mult-threaded python program that forks itself into a daemon process? I know you can make it work on multi开发者_StackOverflow thread, but I haven't seen anything on profiling a daemon.


Well you can always profile it for a single process or single thread & optimize. After which make it multi-thread. Am I missing something here?

0

精彩评论

暂无评论...
验证码 换一张
取 消