Opened 16 years ago
Last modified 16 years ago
#2 new enhancement
use "darcs query" to get count of patches faster
Reported by: | zooko | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | component1 | Version: | |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
darcsver currently uses darcs changes --xml to get a count of patches, which takes 8 seconds on draco for the Tahoe trunk repository. Darcs also offers darcs query repo which emits the relevant value (the count of patches) in 0.4 seconds.
This is important because it is probably the single largest component of slowdown in http://allmydata.org/trac/tahoe/ticket/591 ("make quicktest" could be quicker and less noisy) (although it would probably be better to change "make quicktest" so that it didn't invoke darcsver at all, if possible.)
Note: See
TracTickets for help on using
tickets.
Here is the darcs ticket where I opened a request for a fast count of patches and then discovered that it was already done.
http://bugs.darcs.net/issue1354 # I need a quick way to get the count of patches in a repo.