[PATCH 6 of 6] spartan: render changesets server-side on /graph page

Gregory Szorc gregory.szorc at gmail.com
Tue Dec 5 00:46:55 EST 2017


On Mon, Dec 4, 2017 at 1:28 PM, Augie Fackler <raf at durin42.com> wrote:

> On Mon, Dec 04, 2017 at 08:40:43PM +0800, Anton Shestakov wrote:
> > # HG changeset patch
> > # User Anton Shestakov <av6 at dwimlabs.net>
> > # Date 1512385721 -28800
> > #      Mon Dec 04 19:08:41 2017 +0800
> > # Node ID aa14b97727c79991683a2ffd45986d18e3657576
> > # Parent  c85a282fa36ff57c7491700c54a1af9c69ded03c
> > # EXP-Topic hgweb-more-info
> > spartan: render changesets server-side on /graph page
>
> queued, thanks
>

Anton,

I'm not sure if it is this series or something before. But the graph view
of hgweb now loads substantially slower for me using my local copy of the
hg repo. Until recently, things would load about as fast as I could scroll
with my mouse wheel. Now there are delays of several hundred milliseconds.
Using `HGPROF=ls hg serve --profile` (the default stat profiler doesn't
work with hgweb), it looks like something is spending a lot of time
calculating visibility. Maybe it has something to do with rendering the
obsolescence state of each changeset?

These changes to hgweb are all great! I don't mean to discount the
improvements. If you need help tracking down the perf issue, I'd be happy
to help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20171204/a6fc795e/attachment.html>


More information about the Mercurial-devel mailing list