[pacman-dev] [PATCH] makepkg: Pass --stream to `hg clone` when creating the working copy

Luke Shumaker lukeshu at lukeshu.com
Wed Sep 19 19:15:31 UTC 2018


On Sat, 08 Sep 2018 16:31:16 -0400,
Luke Shumaker wrote:
> From: Luke Shumaker <lukeshu at parabola.nu>
> 
> Without --stream, `hg clone` reencodes+recompresses the entire repository,
> to the storage settings of the host.  But download_hg() already did that
> on the initial network clone, and it is 100% pointless duplicated work for
> the local clone.
> 
> The work that this saves is CPU-bound (not disk-bound), and is restricted
> to a single core.

After more testing, this didn't have the speed-up that I expected.
Consider the patch withdrawn.

-- 
Happy hacking,
~ Luke Shumaker


More information about the pacman-dev mailing list