19 Sep
2018
19 Sep
'18
7:15 p.m.
On Sat, 08 Sep 2018 16:31:16 -0400, Luke Shumaker wrote:
From: Luke Shumaker <lukeshu@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