From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp10.migadu.com ([2001:41d0:403:4789::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms9.migadu.com with LMTPS
	id gLcjHWY9AmXCawEAG6o9tA:P1
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 14 Sep 2023 00:53:26 +0200
Received: from aspmx1.migadu.com ([2001:41d0:403:4789::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp10.migadu.com with LMTPS
	id gLcjHWY9AmXCawEAG6o9tA
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 14 Sep 2023 00:53:26 +0200
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 29A8E59BB6
	for <larch@yhetil.org>; Thu, 14 Sep 2023 00:53:26 +0200 (CEST)
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=k769VeRG;
	spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none)
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1694645606;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=8/Ddynd1Q5u7aJf6LPAQyd1FEGPttudrblI+TDhDRAc=;
	b=FkiWQayErYFa6YQFv8+Pt7NPHxHU388K1Qk4ZWC0SxgRskHMXfwNMbiDqRSyVSUl3J5vjO
	EJsfKx5M+ITbu9K2jRQ7bI+lD/ueF/WhhaJSOU3+QRozjYari5VeDNIxM425OVu/qZhtO3
	CVKBE2nA1qnYf1cT6p+qvX3xi5Aevs6zMUN4qZsmblh14AWSRDtlfJJZxTz81W25DQAqsB
	tQMCZpat9QVOwU5OSluTztZiLWhIVjo9RPXRK01ewEl5VH4tunQohOqBJxIr6t5m6gMzXo
	l/MKDV8dOA92+bba8Honj90nXGiZ+IF3lErrl1SI6qDeZdIFn9U2ichrNIuvew==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=k769VeRG;
	spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none)
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694645606; a=rsa-sha256; cv=none;
	b=lJfMaecK32mdWUK+KhyGx8ucw2bJ2W3Nz103Oux1UxsH/clEZr7aJ3mZoOmlq1MYlN1G1H
	lx/cPBVXunpxUfYdeK9G8Z4d4tQDvAwI3EJkicV4x6hyx6fpYRczhcxI+ujxew1ln59gen
	rd0E7R0RUFN+666xc82+cExqrc9FZbaD2RITfs6YUJXCHSPAjTKV5AIzGDikxnzVqYM3+i
	DbB00kJbHczSrCrUBieNONNx8vQCjTPExz5IgTRtuyhw5vr0Y2pLT0DIhZE8pPiztycbvj
	ywpOWhXwh3J1/N8WXaWHFYIH4Dt1YtP9G1x7WBWQra0Wwls7egsPvPaR9frFqA==
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-guix-bounces@gnu.org>)
	id 1qgYjD-00036x-8r; Wed, 13 Sep 2023 18:52:59 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1qgYjB-000367-Ec
 for bug-guix@gnu.org; Wed, 13 Sep 2023 18:52:57 -0400
Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1qgYjB-000126-74
 for bug-guix@gnu.org; Wed, 13 Sep 2023 18:52:57 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qgYjG-0005N5-Ai
 for bug-guix@gnu.org; Wed, 13 Sep 2023 18:53:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: bug#65720: Guile-Git-managed checkouts grow way too much
Resent-From: Simon Tournier <zimon.toutoune@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-guix@gnu.org
Resent-Date: Wed, 13 Sep 2023 22:53:02 +0000
Resent-Message-ID: <handler.65720.B65720.169464555320603@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 65720
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>, wolf <wolf@wolfsden.cz>
Cc: Josselin Poiret <dev@jpoiret.xyz>, 65720@debbugs.gnu.org
Received: via spool by 65720-submit@debbugs.gnu.org id=B65720.169464555320603
 (code B ref 65720); Wed, 13 Sep 2023 22:53:02 +0000
Received: (at 65720) by debbugs.gnu.org; 13 Sep 2023 22:52:33 +0000
Received: from localhost ([127.0.0.1]:36301 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1qgYim-0005MA-Sv
 for submit@debbugs.gnu.org; Wed, 13 Sep 2023 18:52:33 -0400
Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:41143)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@gmail.com>) id 1qgYih-0005La-UV
 for 65720@debbugs.gnu.org; Wed, 13 Sep 2023 18:52:29 -0400
Received: by mail-wm1-x330.google.com with SMTP id
 5b1f17b1804b1-3fe4f3b5f25so867035e9.0
 for <65720@debbugs.gnu.org>; Wed, 13 Sep 2023 15:52:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1694645536; x=1695250336; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=8/Ddynd1Q5u7aJf6LPAQyd1FEGPttudrblI+TDhDRAc=;
 b=k769VeRGXZWuc9m7cbX/X9TmncOtapPVnQBIXTji6+Eb0HkMFjPiz11rqvEhKhHYlP
 VjGqSc1K3ynkNwIDQS9svy/g/g0zCQ1m6rdZMZ5ssT59wLJr17ICLKPXT7jVSQZnoy1a
 TYqIF58/vMRG7ndn+YN9OAf0TagXvdm/p9CgkiCc+6qiKl4LBqGFV0DoaHyBPA8lBGmP
 2kbugskd6wAuEYvTfRFzGLqRKmkHz6Ry72p5ljAt7pCHmtW0/Jc4Jwj4Iio7SintPjjJ
 zDgdzxHob9erUQYlzWQunD0jCKbrBV2GVVR2BwxobYB7gd0W7K1ltaPFvThSqQtBzfkO
 6fDA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1694645536; x=1695250336;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=8/Ddynd1Q5u7aJf6LPAQyd1FEGPttudrblI+TDhDRAc=;
 b=ocuDaebx2iIhL2hlV4huM0CqHGUNJh0JELdOs0VqHfpRQ2GfnSu+ecDGKE3rOoyMIB
 4YG/8/CecX9GLna1XdeIZ9dLGHbdokwnDEKXO+5qerE8VdQta57zhbRv7YZOYR0j+W4u
 Sit8/+//FJcc9iQoXPY2QsgtaKVIkSBPA5RJAFY7FvQGQ7Et96FDyIgFfC0DufI284o9
 U+SBNLVbcBnuOp0gXRqECkY2Ffnkidf8IEIX8svGeN70jg5wrsPNqJVl5TiTWVNrJCuh
 dEaZle/kNXu/pZYXSv/i8qV0HiZXXYFjeNHJAK1+XE8IP4jMqxYLB1uwT/4vde1xabMN
 C+9w==
X-Gm-Message-State: AOJu0YxK/RLs4Mc7h/LTfVlzVUXaNvpU62lyl+UuwsWMKHAgO5y3bZde
 Ur7R5TDzWxiekMdMJi7ocL4def+UYAo=
X-Google-Smtp-Source: AGHT+IEQyzrX4pqn8PTZYG+0dGN0WVMtzuH+hEQ610+sX5ZmCz9heI6iwhfQTfSb6CRLI5ZsL0j7wA==
X-Received: by 2002:a05:600c:34ce:b0:401:bb6e:453a with SMTP id
 d14-20020a05600c34ce00b00401bb6e453amr3280276wmq.0.1694645536274; 
 Wed, 13 Sep 2023 15:52:16 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id
 z25-20020a1c4c19000000b003fe29f6b61bsm291851wmf.46.2023.09.13.15.52.15
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 13 Sep 2023 15:52:15 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@gmail.com>
In-Reply-To: <874jjylza9.fsf@gnu.org>
References: <87bkejc7go.fsf@inria.fr> <87fs3tobju.fsf@gnu.org>
 <87tts9uj6x.fsf@jpoiret.xyz> <87msy0ln4m.fsf@gnu.org>
 <87pm2vvibo.fsf@jpoiret.xyz> <87pm2s385m.fsf@gnu.org>
 <ZP8nc1m8rN_34XV-@ws> <874jjylza9.fsf@gnu.org>
Date: Thu, 14 Sep 2023 00:36:17 +0200
Message-ID: <86o7i5wvj2.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-guix@gnu.org
List-Id: Bug reports for GNU Guix <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-guix>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=subscribe>
Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org
Sender: bug-guix-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Scanner: mx1.migadu.com
X-Migadu-Spam-Score: -0.31
X-Spam-Score: -0.31
X-Migadu-Queue-Id: 29A8E59BB6
X-TUID: AmCNGePY/wtJ

Hi Ludo,

On Wed, 13 Sep 2023 at 20:10, Ludovic Court=C3=A8s <ludo@gnu.org> wrote:

> =E2=80=98get-internal-run-time=E2=80=99 returns =E2=80=9Cunits of process=
or time=E2=80=9D used by the
> current process (info "(guile) Time").  When shelling out, the process
> calls waitpid(2) and does nothing, so naturally its processor time is
> close to zero.
>
> =E2=80=98get-internal-real-time=E2=80=99 should give something closer to =
elapsed time.

Well, let avoid to mix unrelated discussion. :-)  For discussing that
specific part, I reported on guix-devel my timing using ,time.

        comparing commit-relation using Scheme+libgit2 vs shellout plumbing=
 Git
        Simon Tournier <zimon.toutoune@gmail.com>
        Tue, 12 Sep 2023 00:48:30 +0200
        id:865y4gz5q9.fsf@gmail.com
        https://lists.gnu.org/archive/html/guix-devel/2023-09
        https://yhetil.org/guix/865y4gz5q9.fsf@gmail.com

The result is still significantly less and discussion is welcome
overthere. :-)

Cheers,
simon