[darcs-users] Re: darcs.cgi is slow?

David Roundy droundy at abridgegame.org
Sat Apr 9 12:25:20 UTC 2005


On Sat, Apr 09, 2005 at 03:20:26AM +0000, Mark Stosberg wrote:
> On 2005-04-08, VMiklos <mamajom at axelero.hu> wrote:
> > Will wrote:
> >> Mark Stosberg <mark at summersault.com> writes:
> >>>Right now darcs.cgi is limited by the speed at which 'darcs' runs on the
> >>>same machine, and 'darcs annotate' is often slow.
> >
> > hmm, i don't see how this will solve the problem. the url i mentioned 
> > above is not simply slow, but times out, so imho here caching don't help
> >
> > i would think if the solution could be to use mostly separate commands 
> > instead of 'darcs' to get the info from the repo, like
> >
> > zcat _darcs/patches/id
> >
> > instead of
> >
> > darcs annotate --match 'hash id'
> 
> If these really meant the same thing, I doubt darcs would be so slow.

They do mean the same thing, but "darcs annotate --match 'hash id'" isn't
the slow use of annotate.  What is slow is

darcs annotate --match 'hash id' filename
-- 
David Roundy
http://www.darcs.net




More information about the darcs-users mailing list