Mercurial > hg
view contrib/python-zstandard/MANIFEST.in @ 40697:d98fb3f42f33
context: floor adjustlinkrev graph walk during copy tracing
The `_adjustlinkrev` method gains an optional "stoprev" argument. The linkrev
adjustment will give up once this floor is reached. The relevant functions
using `_adjustlinkrev` are updated to pass an appropriate value in the copy
tracing code.
In some private repository, about 10% of the status call triggered the
pathological case addressed by this change. The speedup varies from one call
to another, the best-observed win is moving from 170s to 11s.
The effect of this change can be seen in the public pypy repository, running the
following command:
hg perftracecopies --source 83c9ff0c0206 --destination 59c79103d5b0
before: 3.401753 seconds
after: 2.634897 seconds (-23%)
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 10 Oct 2018 00:50:37 +0200 |
parents | 73fef626dae3 |
children | 675775c33ab6 |
line wrap: on
line source
graft c-ext graft debian graft zstd graft tests include make_cffi.py include setup_zstd.py include zstd.c include zstd_cffi.py include LICENSE include NEWS.rst