"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: Progress bars
To:
Christian Weisgerber <naddy@mips.inka.de>
Cc:
gameoftrees@openbsd.org, Ted Bullock <tbullock@comlore.com>
Date:
Tue, 8 Feb 2022 14:20:13 +0100

Download raw body.

Thread
  • Stefan Sperling:

    Progress bars

  • Christian Weisgerber:

    Progress bars

    • Stefan Sperling:

      Progress bars

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.