[darcs-users] Re: darcs.cgi is slow?
VMiklos
mamajom at axelero.hu
Sun Apr 10 12:07:46 UTC 2005
Mark Stosberg wrote:
> I'm not sure how much sense it makes to compare 'darcs.cgi' to 'viewcvs.cgi'.
> It makes it sound like if they were coded the same way, they might be
> comparably fast.
i don't know viewcvs.cgi's internal, probably they are not comparable,
but a user just see, that darcs.cgi is slow ;)
> darcs.cgi often depends on the performance of 'darcs'.
yes
> Is there a specific case where you have timed darcs.cgi and darcs and
> found that the CGI interface was substantially slower than calling the
> related calls directly to darcs? Only then can we can confirm that it
> is the CGI script and not darcs itself that is the source of slowness.
no. i just thought about that in some cases it would be faster to
directly deal with files than calling darcs to do the work. as David
said, darcs is not optimized for the commands darcs.cgi regularly uses,
so that if darcs.cgi would read the files directly, _without_ calling
darcs, it might be faster as darcs.cgi's code would be optimized for
_that_ operations
udv / greetings,
VMiklos
--
Developer of Frugalware Linux, to make things frugal - http://frugalware.org
More information about the darcs-users
mailing list