From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eGtwEL8J+WTuugAA9RJhRA:P1 (envelope-from ) for ; Thu, 07 Sep 2023 01:22:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eGtwEL8J+WTuugAA9RJhRA (envelope-from ) for ; Thu, 07 Sep 2023 01:22:39 +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 E3D9F3E94B for ; Thu, 7 Sep 2023 01:22:38 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=dmGAvW9G; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694042559; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=KSjt0ltKO+bRD9DhshTItcHUY8/XPVtj4IFYAHc+3eA=; b=C5hJtJNjRFxUAMsKhB1vj2EMiNZZYS0QaUw7VeAjVf+B6iKMpdG3YAePyiSPlAEkWcsE7Q Zpw4gi9y1PHyraj5q2ilsY7H0983JaGxXrohdzacKdxhbP+BdrZE40XkAyFVPiHKhhTnvQ Pn/T/c4bfywvGzApmBxkO2DS+yu4EeoLP8k8HLkyAkdWAdER9+qb5t7cN9k8CbTzzVFx98 8wKuuf3W7r7dX6J95m6drGekSjJGXIMnFhKm43dRs81nXYFB+M0Quy0HeL5+FR1LdsH0Mt ZJRs02qE4lT0OaWnF/9Gbo/Q1YxLg5Mh/xwaj3BPSUr9XsCkju1hjbX2arXX7w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694042559; a=rsa-sha256; cv=none; b=acmXgUnDN3CX1P/8m6QV2xkKXCObmigssLjTTZsrKCY8djJssBTF6hlIYiCeUmjgbaKwI5 bvkCntbfyz7xAJTZxoxmTLwjNatt1bXN88gaVQvmEnQg47wr0uQFMKL9W2OoACwM9uGeo6 6WuAvA12SMcs1MLgUn+jH5UXZ6OZ3MDuxHjl0bfjmqPHa+5qj76edYtcHkBRm9xvWfNHwa mJeLxzRd0d5o6Q8vNozGtsQ1YNTfHoifkcWwf3nT4Zf/jS71Zx+6GEwSjFqC9F416SsfCw krMBXOTK9SNYgrdyM0bt29eVDS2RN0OhO4bADHESRxc5dAlGOUJle0ndI9XqdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=dmGAvW9G; 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"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qe1qO-0001F1-D4; Wed, 06 Sep 2023 19:21:56 -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 1qe1qN-0001Eo-1Q for guix-devel@gnu.org; Wed, 06 Sep 2023 19:21:55 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qe1qK-0007CO-Kc for guix-devel@gnu.org; Wed, 06 Sep 2023 19:21:54 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-401e6ce2d9fso920405e9.1 for ; Wed, 06 Sep 2023 16:21:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694042511; x=1694647311; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=KSjt0ltKO+bRD9DhshTItcHUY8/XPVtj4IFYAHc+3eA=; b=dmGAvW9G3CxM7cq4Jpea+2Hyx7Ztrh0Q3JfRUqw0jOWV+44M/IovUdVvT8txhTuGMG YdxuJShfAbR2cWciN+MFn0ZOWo0ZZS77d/UtoyPa1qeUuKndxBtQwfi9Z/PpMM8211lT z1e5Ya11Fntzyr7l+m83qm36Z+xswjuvUp4sH8/VZ/l72D+c/9yeHQ63dxm+TblPaDHB 1E+HMbmA9wfboZzVJ1hxFUfd0bHVfb5/Quexsyb0NF8wWO32yJ2b39Fi190mjSGSF0ty qO4jqKrj5m1gBj3l4Si6CSYQUbPciJXPRvm3CB6nhdQoKf0VdMTT+2lEgGMQeQNHYyrq 1gMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694042511; x=1694647311; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=KSjt0ltKO+bRD9DhshTItcHUY8/XPVtj4IFYAHc+3eA=; b=cSmzxQEdNDVXXm+K/nKkwb+aCx4Fm2/ass92+yrHo9Ci4jIu/CJq3Ph8EMuZlyvG+4 9Op1mHJ4vqdPJO5Sxl15f1qdvntt+hIYoWq7syW0sveCGhif9XtYmOgoXckUT7kBSXkB cG9JkWoEKYC6bI8S4xHD92Mw7RkNsGT2JEuhCsREdazinw0Kl/fSO9zOMarBKy4hrNeO ttGTwWvMQ0MbRuwPDmWhmaCYH8aYKLQ5H4fHaPc20KmG9+Nw7VMcOIJUFS7eTqYkMR+C q4Fi8C9VJQXga0JHFT59yil+ftY0V13N2TGoPJyomX8vlSWlQIokVXc40Wn8ID8ybH0Y +akQ== X-Gm-Message-State: AOJu0YzC+Ou3GCe+P4cZdomgH274IN4Lg+BYXwovu+UbCgPl99HitTlU pqGeooFAGPcKuHxpcsWsTZlXj78P9tQ= X-Google-Smtp-Source: AGHT+IF+RIP69+BmLS6Dpi7uLXDYcnNTsupHHl4szQ9aO/GFHXYVWJ8/ztq7v5E2Ykt9V7N4IUvWWA== X-Received: by 2002:a05:600c:3ac8:b0:401:bb6e:453a with SMTP id d8-20020a05600c3ac800b00401bb6e453amr13963284wms.0.1694042510792; Wed, 06 Sep 2023 16:21:50 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id n12-20020a05600c294c00b003feff926fc5sm807724wmd.17.2023.09.06.16.21.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Sep 2023 16:21:50 -0700 (PDT) From: Simon Tournier To: Josselin Poiret , guix-devel@gnu.org Subject: Re: Guix pull speed In-Reply-To: <87edjbvdn8.fsf@jpoiret.xyz> References: <87wmxe3vsa.fsf@jpoiret.xyz> <86wmx4r082.fsf@gmail.com> <87edjbvdn8.fsf@jpoiret.xyz> Date: Wed, 06 Sep 2023 21:45:54 +0200 Message-ID: <86h6o7nkzx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x330.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: -8.08 X-Migadu-Queue-Id: E3D9F3E94B X-Migadu-Spam-Score: -8.08 X-TUID: IIzGnZzggOsx Hi Josselin, On Wed, 06 Sep 2023 at 11:45, Josselin Poiret wrote: >> Well, on my machine, the bigger bottleneck seems the procedure name >> =E2=80=99proxy=E2=80=99 which copies stuff around, IIUC. See [1]. > > Proxy is on the helper script side, it's just waiting for the actual > build script to do its thing. Do it copy on the fly? I mean, is it first written somewhere then moved? >> Hum, is this =E2=80=99graphml=E2=80=99 something you have not submitted?= Or am I >> missing a point? Last time I played with =E2=80=9Cguix graph=E2=80=9D, = I wrote a small >> script for bridging with networkx. See [2]. > > I've committed it pretty recently, and should work OOTB now. Cool! >>> You can compare with a compiled check-out of guix by just running the >>> following in a `guix repl`: >>> --8<---------------cut here---------------start------------->8--- >>> (use-modules (guix self) (guix monad-repl)) >>> ,run-in-store (guix-derivation (getcwd) "0.0-git" #:pull-version 1) >>> --8<---------------cut here---------------end--------------->8--- >>> which takes at most 5 seconds on my laptop. >> >> Yeah, that=E2=80=99s fast. :-) >> >> For comparing, what would be the corresponding derivations that =E2=80= =9Cguix >> pull=E2=80=9D is building? > > It's building the same! Just that building the derivation takes way > longer because it has first to load a bunch of uncompiled guile files. Well, I am not sure to follow. Is your point not about why it takes longer? If it is the same, these 5 seconds is not why =E2=80=9Cguix pull=E2=80=9D i= s slow, no? Cheers, simon