Re: git: 2c3377a3292d - main - devel/got: got-fetch-http: improve handling of HTTP chunked responses
Date: Fri, 18 Apr 2025 15:20:56 UTC
On 4/17/25 22:34, Daniel Engberg wrote: > On 2025-04-17 22:11, Christian Weisgerber wrote: >> devel/got: got-fetch-http: improve handling of HTTP chunked responses >> >> Cherry-picked from upstream to fix a performance problem when cloning >> FreeBSD src.git over HTTP(S). > > Better than before [1] but it's still quite a bit slower compared to most > other toolsavailable. Yes, there are definitely still improvements to be made in got-index-pack. But this fixed an O(n^2) issue in got-fetch-http which was resulting in it copying the entire repo in memory few times per 32 kB fetched over HTTP. I'll take "slow" over "completely unusable" any day. ;-) -- Colin Percival FreeBSD Release Engineering Lead & EC2 platform maintainer Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid