开发者

Profile python program that forks itself as a daemon

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜