#1558 closed defect (fixed)

don't use hotshot as profiler for 'tahoe start --profile'

Reported by: davidsarah Owned by:
Priority: normal Milestone: undecided
Component: code-frontend-cli Version: 1.9.0a2
Keywords: tahoe-start profile performance twistd twisted Cc:
Launchpad Bug:

Description (last modified by exarkun)

Hotshot is unmaintained and buggy (see http://docs.python.org/library/hotshot.html and http://bugs.python.org/issue900092 and http://twistedmatrix.com/trac/ticket/5137#comment:3). tahoe start --profile should probably use cProfile instead.

See also #1546 (pass arbitrary options to twistd through the "tahoe" command-line), which would allow you to override the default profiler.

Change History (3)

comment:1 Changed at 2011-10-11T02:52:53Z by davidsarah

  • Description modified (diff)

comment:2 Changed at 2012-03-29T19:19:02Z by davidsarah

  • Priority changed from major to normal

comment:3 Changed at 2020-01-16T20:57:29Z by exarkun

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed

"tahoe start" is deprecated and "tahoe run" can now pass args through to "twistd", which uses cprofile as the default profiler.

Note: See TracTickets for help on using tickets.