Hi Daniel,

On Wed, Nov 25, 2020 at 06:43:26PM -0300, Daniel Serpell wrote:
> After the Debian switch to python3.9 by default, mercurial got a lot slower,
> see the following tests in a small repository:
> 
>  $ time python3.9 /usr/bin/hg status
>  real 0m0.403s
>  user 0m0.391s
>  sys  0m0.012s
> 
>  $ time python3.9 /usr/bin/hg status
>  real 0m0.123s
>  user 0m0.114s
>  sys  0m0.008s
> 
> Even a simple "hg" command without parameters takes about 0.35 seconds to
> show  the help message.
> 
> As python3.9 is the default, now all mercurial invocations are slow.
> 
Can you provide the output of running hg status with the --profile
option, in both the faster and slower cases?

Thanks,
Julien

Reply via email to