Mercurial 1.1 released! - slow http access

Matt Mackall mpm at selenic.com
Wed Dec 3 15:25:28 CST 2008


On Wed, 2008-12-03 at 15:00 -0600, Satish Balay wrote:
> On Wed, 3 Dec 2008, Matt Mackall wrote:
> 
> > I've cloned your repo and run hg serve on it and it comes up in my
> > browser instantly. So it's probably some piece of configuration on your
> > end, but I don't have any immediate guesses. You should probably start
> > by disabling all extensions.
> 
> I see this issue only with apache/cgi interaction. I.e ssh,'hg serv'
> work fine for me aswell.

Odd. I still suspect it's a configuration issue.

> Is there anyway to profile mercurial in this setup[with apache/cgi]?

Yes, with a small bit of hacking to the CGI script. You simply have to
wrap the hgweb invocation at the bottom with something like the code
here:

http://www.python.org/doc/2.5.2/lib/hotshot-example.html

> Does this setup work for others with mercurial-1.1?

Yep.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list