From: Stefan Sperling Subject: Re: Got is kinda slow To: Christian Weisgerber Cc: gameoftrees@openbsd.org Date: Sun, 16 Apr 2023 14:11:20 +0200 On Sun, Apr 16, 2023 at 11:35:24AM +0200, Christian Weisgerber wrote: > Stefan Sperling: > > > > $ cd /usr/ports/devel/libpciaccess # FreeBSD ports > > > $ time git log -- . >/dev/null > > > 20.15 real 19.77 user 0.37 sys > > > $ time got log . >/dev/null > > > 460.48 real 459.54 user 0.85 sys > > > > How many pack files does this repository contain in objects/pack? > > $ gotadmin info > repository: /usr/ports/.git > pack files: 23 > packed objects: 6434477 > packed total size: 1365M > loose objects: 123 > loose total size: 1148K In that case the best next step would be to profile it. Rebuilding 'got' or 'got-read-pack' for profiling might yield some insight. Is this in -portable or on OpenBSD? The OpenBSD README explains how to do a profile build and get a graph of the result. Not sure about -portable.