From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0Dj0EX6Gk2PZYgAAbAwnHQ (envelope-from ) for ; Fri, 09 Dec 2022 20:03:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0B8TEX6Gk2OhRQEAG6o9tA (envelope-from ) for ; Fri, 09 Dec 2022 20:03:26 +0100 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 04EB638607 for ; Fri, 9 Dec 2022 20:03:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3idh-0006o4-Gy; Fri, 09 Dec 2022 14:02:29 -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 1p3idg-0006nj-9q for guix-devel@gnu.org; Fri, 09 Dec 2022 14:02:28 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3idd-000344-Qc for guix-devel@gnu.org; Fri, 09 Dec 2022 14:02:27 -0500 Received: by mail-wr1-x435.google.com with SMTP id h10so6112534wrx.3 for ; Fri, 09 Dec 2022 11:02:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=sxW8ErebiAB3myUuEBZ5arx/WYD1BpsUjuWX+VY7JiA=; b=a7ubB+hzeFfmW7GZ+YcBQovSfXXUM807csALfsmFW+gKb9EQ94iMk2DbwhJ8ck4W8W cbvJIJ8Ghj/wjLRt++qN+VFIS7/uPB7KpiMITe8cRjJBGdlVE6bKBNaREqzG3jhaYn/B n+cu2H6wpc1XGUL4IQ/Nl5g7voQrjik1Icmqq4VZWxumAmFnZE3D45BmWiT3aNm3Fsu0 wiZNXaQWcJMZigTRS56Ac6BZU1jD5mHOQozez5PaE6xcuH5PHLWGfzkERfgpej/hDB7i bp075ul+0inkhaBkjlc4KwsEadkz6ZkYt9IZ/zWUjovBhkGwgui8aSIQ/1W8Z54qnsQN aFjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=sxW8ErebiAB3myUuEBZ5arx/WYD1BpsUjuWX+VY7JiA=; b=ihdPWHDwuLSwG+Uw3axHpYSK1Xkb1zlsMhekNQ966JzoZTR6hGRemIoVHUH3ZKl20A tLASeqO2cnlsLY0yre7nq6C0EvqEfNe4efaRUezVV3M53fZChkTR2vjMK9+jBft1X138 LicrMqkU/nGOBjTdQzY9X6pj91NgYb0qQReJNECy7vVQfDDTWruv2WZAQ8I0dpFUHDJ7 XvlzI9ATPmX+WdcBNXgB0fs0YtdFbu0rTPaGgMFGrDM7j1KR9Vhb+tq2FC8+aSskwHuW Xovaa21Wf5482sMicUCk5tV1rO2osV+uoxu3sjwxWaoRCLCR34KDN7a+6bunJ2VqqPKH lCOw== X-Gm-Message-State: ANoB5pnOSuBX3nCnzx6FqckRsRqk9j/peTc4q2FikAIYOM+RKMWiEGdo tHedk/fkk2fqwZXPN5OZj4YytEtA9cg= X-Google-Smtp-Source: AA0mqf6v0OzX4xFNhvdPuITcHB/nYRJWkiE5aae3DRMlSt6OLD7Izr4vXayOHk8Q+mqYzlXIoht1qw== X-Received: by 2002:a5d:5a91:0:b0:236:c60b:c766 with SMTP id bp17-20020a5d5a91000000b00236c60bc766mr1237625wrb.6.1670612543797; Fri, 09 Dec 2022 11:02:23 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id q12-20020adfcd8c000000b0024216d2e386sm2073716wrj.16.2022.12.09.11.02.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Dec 2022 11:02:23 -0800 (PST) From: zimoun To: Csepp , guix-devel Subject: Re: guile profiling / speeding up derivations on slow storage In-Reply-To: <87fsdzoqqp.fsf@riseup.net> References: <87fsdzoqqp.fsf@riseup.net> Date: Fri, 09 Dec 2022 19:25:39 +0100 Message-ID: <87o7scph7g.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x435.google.com 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_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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670612606; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=sxW8ErebiAB3myUuEBZ5arx/WYD1BpsUjuWX+VY7JiA=; b=mtVJRuTpauyN7WUbZbeQ4z18fiApjWka3b/RmbuXS/KlkzV71qrFCWU+FsGFg6F01fvuri FDRxYwiqDzZeQgI0fUhytQhpkVR8LA6FTywumv7JFsUxv3s0bfuFYyssXGxWVhT7REi7eh ZRQQZAyVuMZQFVUC/jSUGy6DNBqCzI6USOST1Esw6AqRYo8AzbH+dGUMQr+RGZaYntPqST oAwiPX2SnA6cvLaVO8Fg5bx9KGilFIL6fwF7JJs7DlU9P0uww9L0r9CV7i0KzehxOM20BD aHtKar5pp87Ieh/RBS3rBnam8EFBMwW9FpXGnfKmcthz3gvYdFlHVCRywumOtw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670612606; a=rsa-sha256; cv=none; b=R6Jl24q7VLsFZDBFYA7rxGYzwr2KtyaSg+zc8aPEKS7xG/ipjfVSLILUZ2griXFr09x2Ii hJO7rC+eJS9RTHsLr8j2bhIOIjTmkWBhNUUWzG1dwSca1ZcEO9+QP61Z0fO4vwfFmG/FeB g8U4BUczCSBkMWZbgvPk84pfGvepdfD8R+/IBeN270k++iW/+Cwypfy4G4aQU58xvVyIDf iuCDa7bnyss1wZ5meLZN0UYNquy1K4WNuwaz1vsPX1L/GHBpjI/mLivW6CO7uGNYLOKSnm 1jBp0nCMmoGpajenrck4aTfZRqX05PiQJL1XC+2dp71A5+9BNGmpDflQ5/i/yw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=a7ubB+hz; 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" X-Migadu-Spam-Score: -3.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=a7ubB+hz; 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" X-Migadu-Queue-Id: 04EB638607 X-Spam-Score: -3.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: Xh/Xj9JHu+HL Hi, On Thu, 01 Dec 2022 at 02:02, Csepp wrote: > First of all, I'm curious, how do other Guile developers profile code? Well, recently Ludo posted a heap profiler for Guile https://lists.gnu.org/archive/html/guile-user/2022-11/msg00012.html > Could we add a profiling flag for the CLI similar to the existing > debugging flags? I agree that some utilities would be welcome. And for instance, I am unable to use ,profile or =E2=80=99statprof=E2=80=99. Well, maybe it could be interesting to collect various scenarios as proposed in this thread [1]. 1: https://yhetil.org/guix/87lenve3t2.fsf@gnu.org Cheers, simon