Opened 11 years ago

Closed 11 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 Changed 11 years ago by bro

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 Changed 11 years ago by bro

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in 763f5de90426

comment:3 Changed 8 years ago by Cas

  • Milestone changed from 2.0.x to 2.0

comment:4 Changed 6 years ago by Cas

  • Milestone changed from 2.0 to 2.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.