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 QI6jAfo9pF+KLQAA0tVLHw (envelope-from ) for ; Thu, 05 Nov 2020 18:01: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 AEY/Ofk9pF8zKwAA1q6Kng (envelope-from ) for ; Thu, 05 Nov 2020 18:01:29 +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 BDBA49403D3 for ; Thu, 5 Nov 2020 18:01:29 +0000 (UTC) Received: from localhost ([::1]:38990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kajZg-00061C-E7 for larch@yhetil.org; Thu, 05 Nov 2020 13:01:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kajYi-0005yf-Np for guix-devel@gnu.org; Thu, 05 Nov 2020 13:00:30 -0500 Received: from mail-40141.protonmail.ch ([185.70.40.141]:30913) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kajYe-0005rt-E5 for guix-devel@gnu.org; Thu, 05 Nov 2020 13:00:28 -0500 Date: Thu, 05 Nov 2020 17:59:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1604599208; bh=o5366yhEPw5lIOLe6nS1fooDisgNKmcLT+TwqO0/1XY=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=GBaAOR4TMwKQgo9BlKyxSncrqAUPpjVd8/7ipXr1zYCuFPUp3PEXPnfk5x+Ndz+Sx Gq3ibhXNyx2xCS8wOrpppg8Us1AojcPjso0MXBT921tj8bbKQfRxleKdbMONW9fWnM s6Bng0WQL7VTrs+ha+xEwP2ucISLLFFwtlFChkzA= To: zimoun From: Luis Felipe Cc: =?utf-8?Q?Ludovic_Court=C3=A8s?= , guix-devel , "44053@debbugs.gnu.org" <44053@debbugs.gnu.org>, Maxim Cournoyer Subject: =?utf-8?Q?Re:_bug#44053:_=E2=80=98xdg-mime-database=E2=80=99_profile_hook_is_slow?= Message-ID: In-Reply-To: <86imajg4xs.fsf@gmail.com> References: <87o8l7pple.fsf@gnu.org> <87v9f7gspm.fsf@dismail.de> <874kmn9adz.fsf_-_@gnu.org> <87ft5zqn2a.fsf@dismail.de> <87sg9sm2qf.fsf@gnu.org> <87ft5rncn5.fsf@gnu.org> <86blgeggo8.fsf@gmail.com> <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=185.70.40.141; envelope-from=luis.felipe.la@protonmail.com; helo=mail-40141.protonmail.ch X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/05 13:00:09 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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: , Reply-To: Luis Felipe 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=pass header.d=protonmail.com header.s=protonmail header.b=GBaAOR4T; dmarc=pass (policy=quarantine) header.from=protonmail.com; 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.71 X-TUID: 9fhFU9wswZgJ =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Thursday, November 5, 2020 4:10 PM, zimoun wr= ote: > Hi, > > On Thu, 05 Nov 2020 at 14:47, Luis Felipe luis.felipe.la@protonmail.com 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 5e7cf66fb35780f9= 30ad0bc5fe21ac330df4411d). > > $ 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. I don't understand, I posted my original timing in https://issues.guix.gnu.= org/44053#1 . > 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)) |= grep 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--- I get this: yo@gnu: ~=E2=9D=AF guix package -I |wc -l 85 yo@gnu: ~=E2=9D=AF time guix time-machine --commit=3D$old -- build --check = $drv Actualizando el canal 'guix' del repositorio Git en 'https://git.savannah.g= nu.org/git/guix.git'... Actualizando el canal 'luflac-x' del repositorio Git en 'git@gitlab.com:lui= s-felipe/guix-channel-x.git'... Se construir=C3=A1 la siguiente extensi=C3=B3n del perfil: /gnu/store/8hswzn212w7wqlr7cgsvq5v7zjh62chc-xdg-mime-database.drv construyendo la base de datos MIME XDG... /gnu/store/8hswzn212w7wqlr7cgsvq5v7zjh62chc-xdg-mime-database.drv construid= o satisfactoriamente /gnu/store/i4qslq2517pwkwb5dyivrg8idsjd8n11-xdg-mime-database real=090m56,245s user=090m4,324s sys=090m0,218s yo@gnu: ~=E2=9D=AF time guix time-machine --commit=3D$new -- build --check = $drv Actualizando el canal 'guix' del repositorio Git en 'https://git.savannah.g= nu.org/git/guix.git'... Actualizando el canal 'luflac-x' del repositorio Git en 'git@gitlab.com:lui= s-felipe/guix-channel-x.git'... Se construir=C3=A1 la siguiente extensi=C3=B3n del perfil: /gnu/store/8hswzn212w7wqlr7cgsvq5v7zjh62chc-xdg-mime-database.drv construyendo la base de datos MIME XDG... /gnu/store/8hswzn212w7wqlr7cgsvq5v7zjh62chc-xdg-mime-database.drv construid= o satisfactoriamente /gnu/store/i4qslq2517pwkwb5dyivrg8idsjd8n11-xdg-mime-database real=090m43,272s user=090m4,214s sys=090m0,200s