Antw: Re: non-smooth progress indication for git fsck and git gc
From: Ulrich Windl <hidden>
Date: 2018-08-20 08:27:14
quoted
quoted
Duy Nguyen [off-list ref] schrieb am 16.08.2018 um 17:18 in Nachricht
[ref]:
On Thu, Aug 16, 2018 at 1:10 PM Ulrich Windl [off-list ref] wrote:quoted
Hi! I'd like to point out some minor issue observed while processing some50000-object repository with many binary objects, but most are rather small:quoted
Between the two phases of "git fsck" (checking directories and checkingobjects) there was a break of several seconds where no progress was indicated.quoted
During "git gc" the writing objects phase did not update for some seconds,but then the percentage counter jumped like from 15% to 42%.quoted
I understand that updating the progress output too often can be aperformance bottleneck, while upating it too rarely might only bore the user... ;-)quoted
But maybe something can be done. My git version is 2.13.7 (openSUSE 42.3).Is it possible to make this repository public? You can also use "git fast-export --anonymize" to make a repo with same structure but no real content (but read the man page about that option first)
Hi! Actually I tried that locally, but with the resulting repository both, fsck and gc are very fast. So I guess it won't be very useful. Also the original .git directory uses 5.3G, while the anonymous .git just used 4.3M... I tried to capture the behavior as screencast, but it seems the screencast optimized the little cahnges away, and in the result git almost had no delay on any operation 8-( Regards, Ulrich
quoted
Regards, Ulrich-- Duy