[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gameoftrees
Subject:    Re: Progress bars
From:       Stefan Sperling <stsp () stsp ! name>
Date:       2022-02-08 13:20:13
Message-ID: YgJuDd2payBHLr5o () camille ! stsp ! name
[Download RAW message or body]

On Tue, Feb 08, 2022 at 01:46:18PM +0100, Christian Weisgerber wrote:
> Ted Bullock:
> 
> > Using got on the older system has been a bit of a trial in patience,
> > specifically some operations like commit and status take a fair amount
> > of time to complete on my setup.
> 
> If your changes aren't spread all over the tree, you can limit the
> operations to the relevant paths to speed them up:
> 
> $ cd /usr/src
> $ time got st bin/ls 
>     0m01.86s real     0m01.48s user     0m00.34s system
> $ time got st  
>     0m15.00s real     0m03.59s user     0m09.58s system

Something else worth pointing out in this context:

I often pass a dot to commands, such as 'got status .' in order
to limit the operation to the path which corresponds to my current
working directory. When working inside a large tree this simple
trick can make the tool a lot more responsive.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic