all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Thompson, David" <dthompson2@worcester.edu>
To: Evan Cooney <evancooney71@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Possible useful guix package performance data
Date: Fri, 1 Nov 2024 09:14:22 -0400	[thread overview]
Message-ID: <CAJ=RwfajaSsZu9GCL8FHZJh=zeyYp5F=pA3-PEGg6j6AHdPzGg@mail.gmail.com> (raw)
In-Reply-To: <CA+NEbmQAoLBSdkMDF2OQ06FmF4pnj9qH5TM8DxuiLCfEO0v4RA@mail.gmail.com>

Hi Evan,

On Fri, Nov 1, 2024 at 2:28 AM Evan Cooney <evancooney71@gmail.com> wrote:
>
> Hi everyone, I used guile's statprof profiler to collect some performance data for guix package. I added the profiler by using the statprof module in guix/guix/scripts/package.scm and wrapping the call to guix-package* in the guix package define command thing in a lambda, then in statprof. Here is the code: paste.debian.net/1334168
> I collected this data by running guix package -i krita inkscape rust-rustup-toolchain. It uses a significant amount of time in the garbage collector (~75% of total runtime) and ~45% of time is spend calling append. What do y'all make of this? Here is the full data: paste.debian.net/1334174

What are you trying to measure, exactly? The data collected is about a
single thread of a Guile process, but `guix package -i` involves
interaction with the Guix build daemon, waiting for downloads, etc.
These things are outside the scope of what statprof is tracing.
Anything that involves reaching out to the internet is going to make
for an unreliable benchmark. I'm not actively working on Guix tools
but I don't see anything immediately actionable from the collected
data. I think getting some more clarity around the goal is necessary
in order to know what to profile and how.

- Dave


      reply	other threads:[~2024-11-01 13:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-01  6:27 Possible useful guix package performance data Evan Cooney
2024-11-01 13:14 ` Thompson, David [this message]

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

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

  git send-email \
    --in-reply-to='CAJ=RwfajaSsZu9GCL8FHZJh=zeyYp5F=pA3-PEGg6j6AHdPzGg@mail.gmail.com' \
    --to=dthompson2@worcester.edu \
    --cc=evancooney71@gmail.com \
    --cc=guix-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.