[tahoe-lafs-trac-stream] [tahoe-lafs] #1500: test_mutable.Update takes too long to run
tahoe-lafs
trac at tahoe-lafs.org
Tue Aug 23 14:37:09 PDT 2011
#1500: test_mutable.Update takes too long to run
--------------------------+-----------------------
Reporter: warner | Owner:
Type: defect | Status: new
Priority: major | Milestone: 1.9.0
Component: code-mutable | Version: 1.8.2
Keywords: | Launchpad Bug:
--------------------------+-----------------------
The new MDMF tests in test_mutable increase the runtime (on my 2010
!MacBookPro laptop) from 24s (in 1.8.2) to 7.5 minutes. Almost all of this
extra time is spent in {{{test_mutable.Update}}}. I think a lot of the
slowdown is because each test creates four new mutable files (two SDMF,
two MDMF), which takes about 26s each, even if they don't end up using the
file for anything.
First step is to figure out why we're taking 7 seconds to create a new
file: we ought to be using 522-bit keys, but maybe something overrode
that. Second step is to trim out the unnecessary file creations.
This isn't necessarily a blocker for 1.9, but it slows down development
considerably, so I want to see it fixed soon.
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1500>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list