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

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
tag -l is too slow
To:
gameoftrees@openbsd.org
Date:
Fri, 15 Mar 2024 17:27:43 +0100

Download raw body.

Thread
There must be an algorithmic inefficiency in "got tag -l".  In a
large repository with a lot of tags, like FreeBSD src.git with 3446,
the command is painfully slow:

$ got clone ssh://anongit@git.FreeBSD.org/src.git freebsd-src.git
$ cd freebsd-src.git
$ time got tag -l >/dev/null
    4m25.10s real     2m43.31s user     2m29.50s system

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de