From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IC9DDlSg8mEtoQAAgWs5BA (envelope-from ) for ; Thu, 27 Jan 2022 14:38:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UKTYClSg8mESawEAauVa8A (envelope-from ) for ; Thu, 27 Jan 2022 14:38:28 +0100 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 839C730C56 for ; Thu, 27 Jan 2022 14:38:27 +0100 (CET) Received: from localhost ([::1]:33900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nD4yn-0000Rs-O8 for larch@yhetil.org; Thu, 27 Jan 2022 08:38:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nD4uY-0006nm-IQ for bug-guix@gnu.org; Thu, 27 Jan 2022 08:34:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nD4uY-0004lo-6Q for bug-guix@gnu.org; Thu, 27 Jan 2022 08:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nD4uY-0002jm-2t for bug-guix@gnu.org; Thu, 27 Jan 2022 08:34:02 -0500 Subject: bug#48007: computing derivations through inferior takes twice as long Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Thu, 27 Jan 2022 13:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 48007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Mail-Followup-To: 48007@debbugs.gnu.org, ludo@gnu.org, rekado@elephly.net Received: via spool by 48007-done@debbugs.gnu.org id=D48007.164329042110486 (code D ref 48007); Thu, 27 Jan 2022 13:34:01 +0000 Received: (at 48007-done) by debbugs.gnu.org; 27 Jan 2022 13:33:41 +0000 Received: from localhost ([127.0.0.1]:54575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD4uC-0002j4-Qu for submit@debbugs.gnu.org; Thu, 27 Jan 2022 08:33:40 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:42944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD4u8-0002ik-7V for 48007-done@debbugs.gnu.org; Thu, 27 Jan 2022 08:33:40 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 96722849; Thu, 27 Jan 2022 14:33:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0QTi-Nj3Kiwb; Thu, 27 Jan 2022 14:33:28 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 58D2F285; Thu, 27 Jan 2022 14:33:28 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87wnsrpf25.fsf@elephly.net> <87r18ufcft.fsf@gnu.org> <87czkeji4h.fsf@elephly.net> <87mtjhftq8.fsf@gnu.org> <87a6fhijqy.fsf@elephly.net> Date: Thu, 27 Jan 2022 14:33:27 +0100 In-Reply-To: <87a6fhijqy.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 27 Jan 2022 10:56:49 +0100") Message-ID: <877dalfgm0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 96722849 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 48007-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643290707; 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-to: 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; bh=BrghCrxwN4BKEE8XGDUnd/lL5HEknWBiEWQqy7ZqGcg=; b=iCMrxYbjA9LcO4x+FYfROn4N0H+i6CEE9IiNImTIzjyp/1zMG3AyWHW7kK0rwNwJCWiYHD ipUwTK8tDlTtcvUr5NIWgjJQ/Ab5XWxPoYk8Eseb19WRc1Msci1UQetSc5uWfzCg4buXoM WlENyDBt1GCHVfeTQxaEhX7RanAE+yknInMlaYFIaf2fZAAob/D3fS5ysS5iLVJUZu2ShB vDquEtDDozAhargNUU2emGkakHDy7WgvRejU0z6tFVhEED0vn1oZH+NGDZc9f4jgKHv8oG UeBiRYyPm8QltEcBFEVllmlThLSMnAZ2SjuaUZrQQWEqp/OsoTNka1rV1tIFBA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643290707; a=rsa-sha256; cv=none; b=TnI6gd5kDSU2vh643oVFP9DHj7+q5PGORBHUaxoQvvLmHkTUTNwDhsirtG/2+1cXfUURWI 7KzH6f9GCNOLVS45iPyTJgjJ7BcxlNxIX3TJfNoCW6W+wb96t6cIeo18rFH6pVmLjA9Qts VyGWOasDTWOw0NTYsmjTgpc+S9lGDOlMuprsA8MaqBa/nrpoQs94az/jDRloCzs0jQfoDz YjbMhl5CeUB6NsOn3T5RFVCGW7oIl2WCm9YhwrPfl4B8of5qg/fYjURJLLLUezme9WV9Ci TlsFdP6GZHN0jhbpEXwKZuFB3FJVCb8Zti8MKRzCgaxmWtiqlBlyvB3oBAYEpA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -3.63 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 839C730C56 X-Spam-Score: -3.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: aRSR2AafLPAW Ricardo Wurmus skribis: > These patches look great to me and they work. > My real-world test case is now down to about 12 seconds. Good! Fixed the typo you mentioned on IRC and pushed as e778910bdfc68c60a5be59aac93049d32feae904. To summarize, the INFERIOR=3Dy case still takes about twice as long as the INFERIOR=3Dn case (before that it was actually 9 times slower). I suppose this is mostly due to the round trips between the inferior and the parent (one per package). We=E2=80=99d have to analyze more closely, f= or example with =E2=80=98perf timechart=E2=80=99, where the wait times are. I= t=E2=80=99ll always be slower than without an inferior though. Last, we should improve the baseline (4s here for the manifest you gave). That=E2=80=99s the tricky part. Thanks, Ludo=E2=80=99.