From: Evan Cooney <evancooney71@gmail.com>
To: guix-devel@gnu.org
Subject: Some code in guix-package* is somehow reached multiple times without any clear reason?
Date: Sun, 3 Nov 2024 20:46:23 +0000 [thread overview]
Message-ID: <CA+NEbmTe3nZ+kXecXaUuw+4Ys0MhmHv7Kt0XW8zE+KqJOEyucg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 780 bytes --]
Hello guix developers,
I was profiling each expression in guix-package* trying to find which
expression takes the most time to evaluate when I noticed the profiling
command displaying data multiple times despite wrapping an expression that
looks like it's only evaluated one time. Here is the code:
https://paste.debian.net/1334468/. I checked the definition of
call-build-hander and only invokes its thunk argument one time, so I have
no idea what's going on here. Could someone explain why this might be
happening?
Here is the output produced when installing librewolf:
https://paste.debian.net/1334470/
It's mostly profiling data, but the point is that there is more than one
report from the profiler, meaning that it was called more than one time.
Thank you,
Evan Cooney
[-- Attachment #2: Type: text/html, Size: 1047 bytes --]
next reply other threads:[~2024-11-03 20:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-03 20:46 Evan Cooney [this message]
2024-11-04 22:41 ` Some code in guix-package* is somehow reached multiple times without any clear reason? Ludovic Courtès
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=CA+NEbmTe3nZ+kXecXaUuw+4Ys0MhmHv7Kt0XW8zE+KqJOEyucg@mail.gmail.com \
--to=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.