From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SNjBGIAmGWf8IAAAqHPOHw:P1 (envelope-from ) for ; Wed, 23 Oct 2024 16:38:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id SNjBGIAmGWf8IAAAqHPOHw (envelope-from ) for ; Wed, 23 Oct 2024 18:38:24 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=LZXewBfr; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729701504; a=rsa-sha256; cv=none; b=S09/74QUoT+6za61THYFxiIa4VZgZ3GYEyTdzIyc0uot8wooMHHwmO+FFtrBUC80c/trRI CXPu//e5kxAy0gxJ0zADKEdGxQjUW1nW+upMCvfyV64XbNJMlQz/hPGiRMpbFfqQRpU0hc SCJgU2rfFSa6qizWCZFV3SVFH6Vo16/AHKMEmeku644BXVOdRD5sDbQaMIDiX8LcUQgIbQ Z3dOFAADArvUzYnt8oMFKNs2fcnMXTUCNUX8VByZFWX1bO71HWDTljLmA9E2pHH/IqaSkn 6trzkaWAngAKZZLnqtiklPFQjHFPaKDL6P4Wi/rVe6JwChU6E9HCTw/HaPRpRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=LZXewBfr; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729701504; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jMmdEYaGtaOw7XKn6pqYEbdGRtMUie8agkbfHcESsII=; b=puYgcjr/qM6/sKe3+NmVnsl2B+Q2HJhIDfXjSzcIhpdyEqI2z2iwok+gQqNqrnBD3qILmg cDf6+fa3056Cujx5YT0/FF8B2ObUnnsAZ0cQSIovjUxefxnjcAKVxqJucNTYbukj6uIyMs CQcvxsM9sgoLdoMhj7SWU6jeMcgt1WwK2olziiyZnSWjAyJCMYdZH/1CLL+flb+nzL/S4T WijICIJKGrVGiaqOqy/R8jtXK0zR7/FnR2lYOshLXvPcEvqu2jSc1SZKwkrCsk/vVya0CP n3VdTbDqaX8yPa6YFNXDJum/3KBO6gFkzuaqtijYRHGJPQpWQH+q5BTxnHfsLg== 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 16AC962D66 for ; Wed, 23 Oct 2024 18:38:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3eN4-00032A-FR; Wed, 23 Oct 2024 12:38:06 -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 ) id 1t3eN3-00031l-0p for guix-devel@gnu.org; Wed, 23 Oct 2024 12:38:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3eN2-0008Es-Ld; Wed, 23 Oct 2024 12:38:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=jMmdEYaGtaOw7XKn6pqYEbdGRtMUie8agkbfHcESsII=; b=LZXewBfrG0PTF11qQxcv hdteEtCdzgnYUiOreTvQn+A80jxTcQPdycD+SpH46sP+IegzsnbnePZq4yXsicZziDPaWm/jbKniK oimofRLucDNeY630u6iB4IAsR8bJcQZPK/P9KtCGwmj7Vj7HBlEUglx0jTXpN6Cg4T2HkruPgR/YX q2ESkkEYgQTA7XrTxB02S4mwHf3QOTT7Jcx/dJRI6dXURhbWnT5wpmrE3Oscmhyfe/NY6jsrmQt9v TlnSNbcVfhaCUcFxW/tlHPDA9JndTZp08u2nFqcZrhOB8+5ouuuaWNia0y+x1wd8W3kLeVcNcPyr7 e/bCoT03bfW1Rg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Sergio Pastor =?utf-8?Q?P=C3=A9rez?= Cc: guix-devel@gnu.org Subject: Re: `map-derivation' is too slow for meaningful usage In-Reply-To: ("Sergio Pastor =?utf-8?Q?P=C3=A9rez=22's?= message of "Tue, 1 Oct 2024 13:57:48 +0300") References: <87o75116qz.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Duodi 2 Brumaire an 233 de la =?utf-8?Q?R=C3=A9volut?= =?utf-8?Q?ion=2C?= jour du =?utf-8?Q?C=C3=A9leri?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 23 Oct 2024 18:38:02 +0200 Message-ID: <871q066ahh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.52 X-Spam-Score: -1.52 X-Migadu-Queue-Id: 16AC962D66 X-Migadu-Scanner: mx12.migadu.com X-TUID: rY54B7w17e2l Hi, Sergio Pastor P=C3=A9rez skribis: > On 06-09-2024 12:17, Ludovic Court=C3=A8s wrote: >> Perhaps we could try and address those performance issues, and then see >> if we could come up maybe with a =E2=80=9Cderivation transformation=E2= =80=9D framework >> to make it more approachable? > > That sound good to me. Do you have any idea on what could be the bottlene= ck? No idea, but the implementation is likely na=C3=AFve: I wrote once, tested = it on simple cases, but it never got any use beyond that. I would start by profiling it with (statprof), and then also look at caching issues (see the =E2=80=98GUIX_PROFILING=E2=80=99 environment variab= le). HTH! Ludo=E2=80=99.