Package: mercurial
Version: 5.5.2-1
Severity: normal

Dear maintainer,

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.

Regards,

    Daniel.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mercurial depends on:
ii  libc6             2.31-4
ii  mercurial-common  5.5.2-1
ii  python3           3.9.0-3
ii  ucf               3.0043

Versions of packages mercurial recommends:
ii  openssh-client  1:8.4p1-2

Versions of packages mercurial suggests:
pn  kdiff3 | kdiff3-qt | kompare | meld | tkcvs | mgdiff  <none>
pn  qct                                                   <none>

-- no debconf information

Reply via email to