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

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: Some random whining
To:
Christian Weisgerber <naddy@mips.inka.de>
Cc:
gameoftrees@openbsd.org
Date:
Thu, 2 Sep 2021 22:25:38 +0200

Download raw body.

Thread
On Thu, Sep 02, 2021 at 10:04:31PM +0200, Christian Weisgerber wrote:
> Stefan Sperling:
> 
> > > With your patch:
> > >     1m04.92s real     0m28.24s user     0m36.54s system
> 
> > Can you time 'got tree -R'? In the general case we won't be able
> > to make cherrypick/backout any faster than that.
> 
> $ time got tree -R >/dev/null 
>     0m05.23s real     0m03.87s user     0m01.94s system

I think this means your bottleneck are stat(2) calls on files
in the work tree. Those don't happen during got tree -R.