hg serve is soo slow
Pierre-Yves David
pierre-yves.david at logilab.fr
Tue Sep 25 11:18:38 CDT 2012
On Tue, Sep 25, 2012 at 12:16:08PM -0300, Martin Scotta wrote:
> Hi hg dev,
> With the latest update (version 2.3.1+20120908) the command hg serve became
> completely unusable due to a bad-written javascript function.
> My browser complains about some function taking too long to finish -- I'm
> using latest Firefox on a brand new Retina MacBook Pro
Thanks for testing developpement version of mercurial.
you should fill a bug on the mercurial bug tracker http://bz.selenic.com/
> The function process_dates (mercurial.js) traverses the ENTIRE dom,
> searching for the "age" class and then performs some string manipulation on
> them, all that in the worst possible manner.
> I tried to fix it, specially because I cannot use the serve due to this
> piece of code, but I could not find where that file is stored.
>
> Would you please point me where that piece of code lives?
~/src/mercurial-dev > grep 'process_dates' **/*.js
mercurial/templates/static/mercurial.js:process_dates = (function(document, RegExp, Math, isNaN, Date, _false, _true){
--
Pierre-Yves David
http://www.logilab.fr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120925/360ac906/attachment.pgp>
More information about the Mercurial-devel
mailing list