From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4EE0Hb4wmF+PDgAA0tVLHw (envelope-from ) for ; Tue, 27 Oct 2020 14:37:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id JqYNGb4wmF8jIgAAbx9fmQ (envelope-from ) for ; Tue, 27 Oct 2020 14:37:50 +0000 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 B58F59402A8 for ; Tue, 27 Oct 2020 14:37:49 +0000 (UTC) Received: from localhost ([::1]:47488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXQ6e-0000mC-M4 for larch@yhetil.org; Tue, 27 Oct 2020 10:37:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXPkc-0006x0-EY for bug-guix@gnu.org; Tue, 27 Oct 2020 10:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33813) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXPkc-0007A9-1f for bug-guix@gnu.org; Tue, 27 Oct 2020 10:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXPkb-0003jl-Sp for bug-guix@gnu.org; Tue, 27 Oct 2020 10:15:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#44254: Performance of package input rewriting Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 27 Oct 2020 14:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44254 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Lars-Dominik Braun , 44254@debbugs.gnu.org Received: via spool by 44254-submit@debbugs.gnu.org id=B44254.160380807314313 (code B ref 44254); Tue, 27 Oct 2020 14:15:01 +0000 Received: (at 44254) by debbugs.gnu.org; 27 Oct 2020 14:14:33 +0000 Received: from localhost ([127.0.0.1]:45359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXPk9-0003im-FE for submit@debbugs.gnu.org; Tue, 27 Oct 2020 10:14:33 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:36665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXPk6-0003iW-Lv for 44254@debbugs.gnu.org; Tue, 27 Oct 2020 10:14:31 -0400 Received: by mail-wr1-f48.google.com with SMTP id x7so2106130wrl.3 for <44254@debbugs.gnu.org>; Tue, 27 Oct 2020 07:14:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=Qre+zqMlPuphUr5CnS5AkI09bJ0BDSYnuMid+w7XY4A=; b=tBUi4NkVPWAGlB5r2g+ACKEK0pAIPKPeTeodwjQFJz1OETq0sl9oJh/z063D8SAWl/ YGwC8Pnz0Nyse92lBmKAE+sCQ7NBHABGw5CJZ+ZDGlATInlufGWwgDRPHOZXyvuQOxma Il6rpBWfGY0DK5UCn7xRjm75QxMBalXcm8ap3SWW2+2TbbAKB0R2EX4ZaJOu6zw++MeD gKAqbENmHUkrnlCH2aQvf7eucYd62gYt3zB0k22Z7tz1jlrjTa/voHCJKhbsBgiuiurF acu3dWXob5eF/ZRFblfEErmQbBBn8pqO7YCEQbWg2oKsjhCa7OMtTl9hqtOXjhiUxjFU Q9yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=Qre+zqMlPuphUr5CnS5AkI09bJ0BDSYnuMid+w7XY4A=; b=ouDFtRr7ciP7bVGuyoWzSpi37gC9gD+mpHrUjKdY68jD7F4yAiNOYVhnATyGnihbG4 SjMcQ21tyhElN+k43bzlW/O6p2OewUq6O4+7nkDUpdGimFsb5FgVoBLs6hjs7pkTWn+2 j/ppXoMetz7Bzq2cBwkdweFFuKjbsGDHuTH74LFGAVyg7zb2A5SLjWUkLyPt9MnOmuev p4zBDwkoWloTu7eos50vKgqONudRUL72ZSKkwSHbsqO1MnYmf5K8YO1IG196V7CxGvSu PJnSNS44GlJFnVjz1cm3ZjVcpCHNvd8pWcLn8Wx5V6+RkLEEWQ5Eg6Tj7jWemjU6zIHN M28Q== X-Gm-Message-State: AOAM533QAZGsBR0eSfnWlg4ymLrJjJOsL+SwYIqIJSt95c7N1XD/VD0c ZZ679mDv0qb1PVW6dqgmBkt6X0zkMus= X-Google-Smtp-Source: ABdhPJw7r2UeFrkjV9tB05Tna5sBvv1UeSwJjxFfUtZ47OKUDeAo2QU81cjjc5qIlirn2LvZxoy8PA== X-Received: by 2002:adf:ee83:: with SMTP id b3mr2749069wro.139.1603808064706; Tue, 27 Oct 2020 07:14:24 -0700 (PDT) Received: from lili ([88.126.110.68]) by smtp.gmail.com with ESMTPSA id u3sm2069478wme.0.2020.10.27.07.14.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2020 07:14:24 -0700 (PDT) From: zimoun In-Reply-To: <20201027132614.GB3081@zpidnp36> References: <20201027132614.GB3081@zpidnp36> Date: Tue, 27 Oct 2020 15:14:22 +0100 Message-ID: <86361z4uyp.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=tBUi4NkV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: ZOkaExv6f5Pc Hi Lars, On Tue, 27 Oct 2020 at 14:26, Lars-Dominik Braun wrote: > Previously I have been doing this using package-input-rewriting, but star= ting > an environment containing python-jupyterlab alone took about 20s (warm ca= ches, > all derivations in the store). Manually rewriting inputs by inheriting and > alist-delete=E2=80=99ing brings this down to 3s, which is pretty signific= ant. > --no-grafts has not much of an impact (15s vs 2s) here. See > https://github.com/guix-science/guix-science/commit/972795a23cc9eb5a0bb1a= 2ffb5681d151fc4d4b0 > for the exact changes. Is it not related to =E2=80=9C#:deep? #t=E2=80=9C by default? The default = was #f. Well, using =E2=80=99inherit=E2=80=99 only rewrites the direct explicit dep= endencies. However, =E2=80=99package-input-rewriting=E2=80=99 traverse all the graph of dependencies and replaces accordingly. Maybe I misunderstand. All the best, simon