#2244 closed patch (Fixed)
Replace daemon profiler (hotshot) with cprofile
Reported by: | Bro | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | Core | Version: | master |
Keywords: | Cc: |
Description
The current profile option in the daemon uses hotshot which is deprecated. (http://docs.python.org/2.7/library/profile.html)
cprofile generates output in a format that can be analyzed by tools like runsnake.
https://github.com/bendikro/deluge/commit/3844dd65570987c099733991b8997d7f70666a13
Note:
See TracTickets
for help on using tickets.
Refactored run_daemon and added support for saving stats when daemon is killed with SIGINT
https://github.com/bendikro/deluge/commits/master-cprofile