[tahoe-lafs-trac-stream] [Tahoe-LAFS] #1558: don't use hotshot as profiler for 'tahoe start --profile'
Tahoe-LAFS
trac at tahoe-lafs.org
Thu Jan 16 20:57:29 UTC 2020
#1558: don't use hotshot as profiler for 'tahoe start --profile'
-------------------------+-------------------------------------------------
Reporter: | Owner:
davidsarah |
Type: defect | Status: closed
Priority: normal | Milestone: undecided
Component: code- | Version: 1.9.0a2
frontend-cli | Keywords: tahoe-start profile performance
Resolution: fixed | twistd twisted
Launchpad Bug: |
-------------------------+-------------------------------------------------
Changes (by exarkun):
* status: new => closed
* resolution: => fixed
Old description:
> 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.
New description:
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.
--
Comment:
"tahoe start" is deprecated and "tahoe run" can now pass args through to
"twistd", which uses cprofile as the default profiler.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1558#comment:3>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list