Extreme unbundling performance difference between none-v2 and zstd-v2 bundle

Stefan Ring stefanrin at gmail.com
Wed Jan 3 10:08:00 UTC 2018


On Sun, Dec 31, 2017 at 11:30 PM, Gregory Szorc <gregory.szorc at gmail.com> wrote:
> Using `hg clone` with a bundle source appears to go through a not very
> optimal (read: slow) code path. If you use `hg init` + `hg unbundle`, the
> performance should be much faster.

Thanks, it behaves as you said.

> IMO we should recognize the bundle source case in the `hg clone` code and
> have it be fast by default (by skipping the "bundle repo" layer).

That would certainly be more intuitive.


More information about the Mercurial-devel mailing list