From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 39y0EDIkpF+5MgAA0tVLHw (envelope-from ) for ; Thu, 05 Nov 2020 16:11:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CGoxDDIkpF8dWQAA1q6Kng (envelope-from ) for ; Thu, 05 Nov 2020 16:11:30 +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 E15D694060E for ; Thu, 5 Nov 2020 16:11:29 +0000 (UTC) Received: from localhost ([::1]:41560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kahrE-0002dS-OO for larch@yhetil.org; Thu, 05 Nov 2020 11:11:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kahr3-0002bz-Uk for guix-devel@gnu.org; Thu, 05 Nov 2020 11:11:17 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:41141) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kahr1-0006sW-93; Thu, 05 Nov 2020 11:11:17 -0500 Received: by mail-wr1-x42b.google.com with SMTP id x12so2402876wrm.8; Thu, 05 Nov 2020 08:11:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=h0RnL7UB+mLfQtPyCASCBnvJkifBvgGReEEi/R5nGvs=; b=gdLEbJucf+NCSdJt1CGhQFKnHwBDgRF2VKw5cHOHTRAb6r0vgVOS78pAnoPAUsoARF o5ymz+G5k+orVmwyF1OON8vfJk+XWczHL8bgA8GGiO2ZCCJaobkzJTVxrF38NCSxHzkJ ZY0gwyiWQ0U2Vr8u4EiYsUdZA+9CpLH4rRFHMFqqwZ2Twj59l4jFD5Yc9Qlz5aUpZ3wP tb1AFDqDYsr2bN8n8oSEG1oG0WJxVk4CcNWafuSGzqKwNUFfT6JdNJK3uZI1PYf11zNN ot2dQiFb6sjTi70NNVpat/wXsYYM9e4Y/XrYvG1HfpwWBSR3flHb1vhT6O0IfSoaEPlu f+8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=h0RnL7UB+mLfQtPyCASCBnvJkifBvgGReEEi/R5nGvs=; b=EWJf3gV8n/Q25CZsYkVCgbBlqCAZIYPv3xV6vrS5vfRntrOGuFuiFAMdSAeysVtES0 Cdw3FcMcD/YkqU83s3Qavhbn2Xw80PI/0E0wT8ZznW/zIQ2jAmACpl/0duAvbQXPBtNy tjXK4xx9vcKV9a+JdAIYELGF4kbH4SUQzWS0z46rfONDay1Gkelp2LJX21l1ZK9XvYTv gQYz0H/GF3ku46ry0/6or1ejCEfv/EKOIf3dH65BHmH7wfDZz4LAoqHQ5fWRlYlA8/y/ yXgLxvHKWZBNIPAdN9dJqSjt06V4mYIPyMkZygiQurcuiQdMmxSCyO4F2DTmBS8fnm9u Ls8Q== X-Gm-Message-State: AOAM532HSPJDF7IFMf7D3gcs4B1Fam5YW1vNYkuEzVoPZUNi/mG4DNfT K82u/18MB243g0C6CHDtAEw= X-Google-Smtp-Source: ABdhPJzRUSd3694beJ+THagCUltwpEN/4Q5wpEySqX+7trAbBAZbw3kvxKZK6fQxjvkZPeVvP7eGig== X-Received: by 2002:adf:d0cf:: with SMTP id z15mr4100473wrh.213.1604592673312; Thu, 05 Nov 2020 08:11:13 -0800 (PST) Received: from lili ([88.126.110.68]) by smtp.gmail.com with ESMTPSA id 90sm3314830wrl.30.2020.11.05.08.11.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Nov 2020 08:11:12 -0800 (PST) From: zimoun To: Luis Felipe Subject: Re: bug#44053: =?utf-8?Q?=E2=80=98xdg-mime-database=E2=80=99?= profile hook is slow In-Reply-To: References: <87o8l7pple.fsf@gnu.org> <87v9f842uu.fsf@gmail.com> <87v9f7gspm.fsf@dismail.de> <874kmn9adz.fsf_-_@gnu.org> <87ft5zqn2a.fsf@dismail.de> <87sg9sm2qf.fsf@gnu.org> <87ft5rncn5.fsf@gnu.org> <86blgeggo8.fsf@gmail.com> Date: Thu, 05 Nov 2020 17:10:39 +0100 Message-ID: <86imajg4xs.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::42b; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, 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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel , "44053@debbugs.gnu.org" <44053@debbugs.gnu.org>, Maxim Cournoyer Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=gdLEbJuc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 1.59 X-TUID: eUT2+hk2NwJj Hi, On Thu, 05 Nov 2020 at 14:47, Luis Felipe w= rote: >> Clever workaround! What are now the performances on previous examples >> (same profiles and same packages)? > > In my case there seem to be no improvement (using Guix 5e7cf66fb35780f930= ad0bc5fe21ac330df4411d). > > > $ time guix package -i perl --max-jobs=3D1 [...] > real 8m38,121s > user 0m2,742s > sys 0m0,338s Thanks. But it is hard to conclude because the previous timing is missing. The right experiment should be: --8<---------------cut here---------------start------------->8--- old=3Dc73496f433044a76003b33c3855bb35ecd0df87f new=3D5e7cf66fb35780f930ad0bc5fe21ac330df4411d guix time-machine --commit=3D$old -- help guix time-machine --commit=3D$new -- help drv=3D$(guix gc -R $(guix gc --derivers $(readlink -f ~/.guix-profile)) |gr= ep xdg-mime-database.drv) guix package -I |wc -l time guix time-machine --commit=3D$old -- build --check $drv time guix time-machine --commit=3D$new -- build --check $drv --8<---------------cut here---------------end--------------->8--- And personally, I get: 18 Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... The following profile hook will be built: /gnu/store/2jlwri28aycsayql85rfphrks721ny1k-xdg-mime-database.drv building XDG MIME database... successfully built /gnu/store/2jlwri28aycsayql85rfphrks721ny1k-xdg-mime-dat= abase.drv /gnu/store/hrcj1h0hl9f6hm1akh682zj1mhpwbx4c-xdg-mime-database real 0m8.063s user 0m6.226s sys 0m0.282s Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... The following profile hook will be built: /gnu/store/2jlwri28aycsayql85rfphrks721ny1k-xdg-mime-database.drv building XDG MIME database... successfully built /gnu/store/2jlwri28aycsayql85rfphrks721ny1k-xdg-mime-dat= abase.drv /gnu/store/hrcj1h0hl9f6hm1akh682zj1mhpwbx4c-xdg-mime-database real 0m8.016s user 0m6.223s sys 0m0.243s Well, I have only 18 packages in my ~/.guix-profile. That=E2=80=99s why the difference is not visible and the =E2=80=9Ctime-machine=E2=80=9D is totally= dominating here. All the best, simon