From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IJXBC1/hJ2ehggAAqHPOHw:P1 (envelope-from ) for ; Sun, 03 Nov 2024 20:47:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IJXBC1/hJ2ehggAAqHPOHw (envelope-from ) for ; Sun, 03 Nov 2024 21:47:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=FDMSIYpe; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730666846; a=rsa-sha256; cv=none; b=ePz0nJQSHCbNMmZB3pRZDf3pr1QYFw8i1QgG2YB2hwTRTKdpIIoy8piUrVgiFVfPSEU8U8 w+2q7G+r2WK5/2QLA5dk6jTSpMEf2BQSB5Pdcjivjz3eeNWWxsfMYgC2k7JSPK/uST9/yU ToP+6C8FVIXTMT3gwUx8Ztx2wtZPZp1OcU7Ir1nIL497J8fcwe0ORLS8Ekji08QdWgYV+H wv/lGGpPygef6EMx+utA9Bsy+5oPjWGo+K/Wu1+AX95hcodm/YiA3RiJ6ZC7gynCKUe5Yb WNuvMmG+25ObwGsJMxSSICnR9ZNesgB/runLccgtnMth5oWHigJMAb5HmoGpPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=FDMSIYpe; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730666846; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=y7Pg6LQ+wR17GMc/LCXC4ES/Jn7DkQZkTpMkScEVMoA=; b=bI129wehhDDvgXeRmgXvD4+4OvfQYlgYgUQEtmW9bB8hJnkOvaE05SRyMA4BZVZadnZq1+ uEZpn1J0tPgeLP7Zsqjs7/1yiiD/PGrqGprfkR8oq6dDeFOZCpk4WOoaLlY0VTEe27jkP4 uyyCubAzhLlgjx8svtX9TwbFUXGTS/zZ+T+dKt83373RL9kxeRcbo42rKs6E94GoK1Hn/B YaEtTurfTpILEEO5SESLGVjIt7+Dd7FxTvKdHXxsP80GzM0YxkCJhqJpHiN4NUR7t378Ze uG2GrS0SwpsksA2fkWJ7FwkLMhhZpct+cEmXaJLP4LYkWEBjR29xOzaK36cO0g== 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 C420873AAF for ; Sun, 03 Nov 2024 21:47:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7hUe-0001Gl-Cl; Sun, 03 Nov 2024 15:46:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7hUc-0001GK-AW for guix-devel@gnu.org; Sun, 03 Nov 2024 15:46:38 -0500 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t7hUa-000497-LN for guix-devel@gnu.org; Sun, 03 Nov 2024 15:46:38 -0500 Received: by mail-pg1-x532.google.com with SMTP id 41be03b00d2f7-7ede6803585so3256406a12.0 for ; Sun, 03 Nov 2024 12:46:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730666795; x=1731271595; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=y7Pg6LQ+wR17GMc/LCXC4ES/Jn7DkQZkTpMkScEVMoA=; b=FDMSIYpevFr4nJOpfekdM86S8qrXW9smz/+5r8DO9iUL8+DU7OaG6ADwRfofwWpbz6 4I57Rct8GzvOhR8Qw6z15FaGWqtP2+Ob8SKOYakGeVRKqj4ZKyAWVLvtnB5sfK6royKC jY/J3OP4Y6EMlyszYriZpisKjqcXGrQYWT+ip2I/9t/EmQRA1wuMbcodfwY6S9O5uegL Nlbx/xXJxRz5lU0loKN3b40dIc67597affccQCAXH3KuzaEwI4aBkNf8p+dGh4qTLdLc lvf5vbcx9Lvegyy3WrHodFY4/CWRu7mjv/Oky6AMIX177kP3FOErxje59DMsE+Gewrqm +StQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730666795; x=1731271595; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=y7Pg6LQ+wR17GMc/LCXC4ES/Jn7DkQZkTpMkScEVMoA=; b=g8dnX9BDUOlPtjExnz4COwE33Sfi68GKTQ1XNF8mIc3EahOnlq27goDHEhLMiqfW2w pQFy++OOpyPZycMiWOT3INktjVJqFvJjGlpdhPBUSSlyoR7TktI5cgF4gAcETcQNIJqv RTPBSdrqbFZnEn+YqtuqCNt/9W9akaR+ff8MVnUBb2a+Y/g2RNoXigTs+doiqLeVLJpS cgu+LNltmdrLkcyXRD2chRH4z9t7KNrb1gtI8kIqVkmD1yOpengPCaWhsYMR4plnZuue BvpjonoOueV3Febt1RmLy7aXyPpiDSisfHPa/QnGM4LJ03KEGX8vZgRBm7IeMF3p6Y5W 6+eA== X-Gm-Message-State: AOJu0Yz/WCD3q707SJ03QsSY0qN598clOTBBhuScrduKh6WYAWwORGsy kLcmhmlw8GRHwjyBOq4uLYHhr06d6vJy0lsHZQuNTbjBpvMvFJn9fepsDXhq99Rkzs42IVMJGKh hDR3eUGIAdpXirWEIYScDE3rtD7uAd4tJ X-Google-Smtp-Source: AGHT+IHckZYz/g642OJMW7DZEo4gUa0+auKzQ275o+07gO88pnm7Xf4Biu1oFWphftM4uVZP5ZB0+dgJUzmZJZAXEfU= X-Received: by 2002:a17:90b:1d43:b0:2e2:ada8:2986 with SMTP id 98e67ed59e1d1-2e93e0df72emr20489277a91.16.1730666794475; Sun, 03 Nov 2024 12:46:34 -0800 (PST) MIME-Version: 1.0 From: Evan Cooney Date: Sun, 3 Nov 2024 20:46:23 +0000 Message-ID: Subject: Some code in guix-package* is somehow reached multiple times without any clear reason? To: guix-devel@gnu.org Content-Type: multipart/alternative; boundary="000000000000826a01062608432e" Received-SPF: pass client-ip=2607:f8b0:4864:20::532; envelope-from=evancooney71@gmail.com; helo=mail-pg1-x532.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=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.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.32 X-Spam-Score: -3.32 X-Migadu-Queue-Id: C420873AAF X-Migadu-Scanner: mx10.migadu.com X-TUID: zf2zgzu7sMr1 --000000000000826a01062608432e Content-Type: text/plain; charset="UTF-8" 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 --000000000000826a01062608432e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 displ= aying 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 d= efinition 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 thi= s might be happening?

Here is the output prod= uced when installing librewolf:

It's mostly profiling data, but the point is that there is more than o= ne report from the profiler, meaning=C2=A0 that it was called more than one= time.

Thank you,
Evan Cooney
<= /div> --000000000000826a01062608432e--