unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luis Felipe <luis.felipe.la@protonmail.com>
To: zimoun <zimon.toutoune@gmail.com>
Cc: "Ludovic Courtès" <ludo@gnu.org>, guix-devel <guix-devel@gnu.org>,
	"44053@debbugs.gnu.org" <44053@debbugs.gnu.org>,
	"Maxim Cournoyer" <maxim.cournoyer@gmail.com>
Subject: Re: bug#44053: ‘xdg-mime-database’ profile hook is slow
Date: Thu, 05 Nov 2020 17:59:59 +0000	[thread overview]
Message-ID: <mOI7DET2ltI7DDsuW_psxIqhFvJxKjWOWmGpwEJKTL5rN49dnI-dvMMxquvNl33w9N9gxqJT8KA8hanP03RENzWZTwUY4Y7cNvctDfucOik=@protonmail.com> (raw)
In-Reply-To: <86imajg4xs.fsf@gmail.com>

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, November 5, 2020 4:10 PM, zimoun <zimon.toutoune@gmail.com> wrote:

> Hi,
>
> On Thu, 05 Nov 2020 at 14:47, Luis Felipe luis.felipe.la@protonmail.com wrote:
>
> > > 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 5e7cf66fb35780f930ad0bc5fe21ac330df4411d).
> > $ time guix package -i perl --max-jobs=1
>
> [...]
>
> > 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=c73496f433044a76003b33c3855bb35ecd0df87f
> new=5e7cf66fb35780f930ad0bc5fe21ac330df4411d
> guix time-machine --commit=$old -- help
> guix time-machine --commit=$new -- help
>
> drv=$(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=$old -- build --check $drv
> time guix time-machine --commit=$new -- build --check $drv
> --8<---------------cut here---------------end--------------->8---


I get this:

yo@gnu: ~❯ guix package -I |wc -l
85

yo@gnu: ~❯ time guix time-machine --commit=$old -- build --check $drv
Actualizando el canal 'guix' del repositorio Git en 'https://git.savannah.gnu.org/git/guix.git'...
Actualizando el canal 'luflac-x' del repositorio Git en 'git@gitlab.com:luis-felipe/guix-channel-x.git'...
Se construirá la siguiente extensión del perfil:
   /gnu/store/8hswzn212w7wqlr7cgsvq5v7zjh62chc-xdg-mime-database.drv
construyendo la base de datos MIME XDG...
/gnu/store/8hswzn212w7wqlr7cgsvq5v7zjh62chc-xdg-mime-database.drv construido satisfactoriamente
/gnu/store/i4qslq2517pwkwb5dyivrg8idsjd8n11-xdg-mime-database

real	0m56,245s
user	0m4,324s
sys	0m0,218s


yo@gnu: ~❯ time guix time-machine --commit=$new -- build --check $drv
Actualizando el canal 'guix' del repositorio Git en 'https://git.savannah.gnu.org/git/guix.git'...
Actualizando el canal 'luflac-x' del repositorio Git en 'git@gitlab.com:luis-felipe/guix-channel-x.git'...
Se construirá la siguiente extensión del perfil:
   /gnu/store/8hswzn212w7wqlr7cgsvq5v7zjh62chc-xdg-mime-database.drv
construyendo la base de datos MIME XDG...
/gnu/store/8hswzn212w7wqlr7cgsvq5v7zjh62chc-xdg-mime-database.drv construido satisfactoriamente
/gnu/store/i4qslq2517pwkwb5dyivrg8idsjd8n11-xdg-mime-database

real	0m43,272s
user	0m4,214s
sys	0m0,200s


  reply	other threads:[~2020-11-05 18:01 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-12 12:59 Removing/replacing “Guix in action” video from the home page? Ludovic Courtès
2020-10-12 14:31 ` Luis Felipe
2020-10-13  1:17   ` Joshua Branson
2020-10-13 17:19     ` Bonface M. K.
2020-10-13 20:59       ` Joshua Branson
2020-10-14  0:58         ` Bonface M. K.
2020-10-13 20:39   ` Ludovic Courtès
2020-10-14  0:14     ` Luis Felipe
2020-10-14 20:43       ` Joshua Branson
2020-10-16 10:27         ` Ludovic Courtès
2020-10-16 10:36           ` zimoun
2020-10-16 15:26             ` Luis Felipe
2020-10-18  3:42               ` Maxim Cournoyer
2020-10-18 11:13                 ` zimoun
2020-10-18 20:55                   ` Joshua Branson
2020-10-21  9:49                     ` ‘xdg-mime-database’ profile hook is slow Ludovic Courtès
2020-10-21 10:23                       ` zimoun
2020-10-27 23:14                       ` Joshua Branson
2020-10-28 21:48                         ` Luis Felipe
2020-10-28 22:38                           ` zimoun
2020-10-29 12:35                             ` Luis Felipe
     [not found]                         ` <87sg9sm2qf.fsf@gnu.org>
2020-11-02 12:53                           ` bug#44053: " Ludovic Courtès
2020-11-02 14:04                             ` Ludovic Courtès
2020-11-03 23:32                             ` zimoun
2020-11-05 14:47                               ` Luis Felipe
2020-11-05 16:10                                 ` zimoun
2020-11-05 17:59                                   ` Luis Felipe [this message]
2020-11-06 12:55                                     ` zimoun
     [not found]                                 ` <87blga3l7e.fsf@gnu.org>
2020-11-06 13:57                                   ` Luis Felipe
2020-11-08 16:31                                     ` Ludovic Courtès
2020-11-06  9:12                               ` Ludovic Courtès
2020-10-16 20:00             ` Removing/replacing “Guix in action” video from the home page? jbranso
2020-10-16 21:04               ` Luis Felipe
2020-10-28  0:55                 ` Joshua Branson
2020-10-28 12:59                   ` Tobias Geerinckx-Rice
2020-10-28 21:46                   ` jbranso
2020-10-31 21:56                     ` Ludovic Courtès
2020-11-01  0:50                     ` jbranso
2020-11-03 22:30                       ` zimoun
2020-10-16 19:57           ` jbranso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='mOI7DET2ltI7DDsuW_psxIqhFvJxKjWOWmGpwEJKTL5rN49dnI-dvMMxquvNl33w9N9gxqJT8KA8hanP03RENzWZTwUY4Y7cNvctDfucOik=@protonmail.com' \
    --to=luis.felipe.la@protonmail.com \
    --cc=44053@debbugs.gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).