RFC: Alternative for exemaker

Adrian Buehlmann adrian at cadifra.com
Wed Jun 27 16:51:35 CDT 2012


On 2012-06-27 22:29, Matt Mackall wrote:
> On Wed, 2012-06-27 at 22:18 +0200, Adrian Buehlmann wrote:
>> On 2012-06-27 18:30, Matt Mackall wrote:
>>> Can someone with an actual Windows box please do this benchmark of 'hg
>>> version':
>>>
>>> - startup time of py2exe variant
>>> - startup time of .cmd variant
>>> - startup time of hgexe variant
>>>
>>> (You probably can't use --time for this purpose, though.)
>>
>> Summary:
>>
>>  (1) startup time of py2exe variant   ~96 ms
>>  (2) startup time of .cmd variant    ~110 ms
>>  (3) startup time of hgexe variant    ~96 ms
> 
> Thanks. Seems poking around in py2exe's zip file vs poking around in the
> filesystem for modules is a wash.

It seems so, speedwise.

On the positive side of having a library.zip is: a lot less files have
to be installed for big "binary" installers like TortoiseHg (e.g. msi).

For TortoiseHg, there are 952 files in the zip. Of course, mercurial is
only a fraction of that. TortoiseHg bundles quite a couple of things.



More information about the Mercurial-devel mailing list