Opened 12 years ago

Closed 12 years ago

Last modified 6 years ago

#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

Change History (4)

comment:1 by Bro, 12 years ago

Refactored run_daemon and added support for saving stats when daemon is killed with SIGINT

https://github.com/bendikro/deluge/commits/master-cprofile

comment:2 by Bro, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in 763f5de90426

comment:3 by Calum, 9 years ago

Milestone: 2.0.x2.0

comment:4 by Calum, 6 years ago

Milestone: 2.02.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.