[tahoe-lafs-trac-stream] [tahoe-lafs] #1338: reduce CLI startup overhead by importing less
tahoe-lafs
trac at tahoe-lafs.org
Thu Jan 27 04:24:23 UTC 2011
#1338: reduce CLI startup overhead by importing less
-----------------------------------+----------------------------------------
Reporter: davidsarah | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Component: code-frontend-cli | Version: 1.8.1
Resolution: | Keywords: performance extensibility packaging
Launchpad Bug: |
-----------------------------------+----------------------------------------
Comment (by davidsarah):
> I was able to get the time to run {{{bin/tahoe --help}}} on my machine
to 1.1 seconds...
I should clarify that this was actually {{{python bin/tahoe.py --help}}},
with PYTHONPATH set to the {{{bin}}} directory, and Twisted installed
globally (for {{{twisted.python.usage}}}). But since the refactored CLI
source files could be in a single directory and don't depend on anything
else, it is possible to solve the path problem more simply than we are
currently doing.
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1338#comment:1>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list