From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8MMXB2yK9GUxmQAAqHPOHw:P1 (envelope-from ) for ; Fri, 15 Mar 2024 18:50:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 8MMXB2yK9GUxmQAAqHPOHw (envelope-from ) for ; Fri, 15 Mar 2024 18:50:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=lylbaiPl; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710525036; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ri1d3dJlUqukBAMX8sP6QcOpEh8ZF+suZuBhHxYWuLk=; b=WqMQCJyHVWewTwB4akh5r6gIRNuvimWxkjXBKvJm5cT3J0rwSFGMJrkU6b3sVgeXed96HQ UU+uf+s7/TnPF7EhkLg2ksYTLECNS7eukOf41OQ30vLGe4DFIx346Oudj1dq5086OR3Qyh JvLbF2lvmH3U9jy0RwNnmZEyHYW0Cx8LIJR+cnRnOdCj65bYN4QMehgdTqkLubPZWVQ3g7 DQ0bqBNIuJsa6ioVcBxSnTJ6rjbgPKYVWajccNMhrM24TAscpeL6wKxLxnlwQrXaz6IEv2 /luaSrOBrhbnM47aZAZGIO+KI1Zwyy8PJhaEyFhXxWOpg5GJME0sE0NwYQjLRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=lylbaiPl; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710525036; a=rsa-sha256; cv=none; b=sJX+d08BorfbHiS8tuIc5Wp0xeu3EM6EJeK95Et7WV9bvDzBUCPtrbb1yfNAttQPAp1+wi 7fUqosyq00WczitSYsCodGIq0ZO30y2uGIOeF2nzX5lrn5PtVu1ehhXTiVztR2b5mK9gLM ig+gkegdZDKeKgTX4af9QYA822zTMmkj8MEifGHEKapDlw7IsDGiuOkqmSSAnCOCDK5Q6J Aabs0gvTGO0mmOH6/3RhQcaKfc9LNrsvmF/hMmsWNx9pnePHS3Aja8cj+vRqDXkJucMZt8 +f7z+u6KgKoUHKIDIRXfbx/m7q59kleWm17kuXW82xI2lpE7269fGaXKZKtxUg== 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 BCB2150A42 for ; Fri, 15 Mar 2024 18:50:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlBgc-0004vM-Mn; Fri, 15 Mar 2024 13:49:42 -0400 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 1rlBgb-0004ug-9x for emacs-orgmode@gnu.org; Fri, 15 Mar 2024 13:49:41 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rlBgZ-0001ub-4h for emacs-orgmode@gnu.org; Fri, 15 Mar 2024 13:49:41 -0400 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1dc09556599so18232515ad.1 for ; Fri, 15 Mar 2024 10:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710524977; x=1711129777; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=ri1d3dJlUqukBAMX8sP6QcOpEh8ZF+suZuBhHxYWuLk=; b=lylbaiPlppIqoO/8c1ucHB9McXtki89WDkDHOBhVrqBHQUHldOtl8+EFIJhrY2QakZ oj3vXSghnxa9QVudEOcWrA+WhERS4tojyBEkY93Mg0VIOKr09xmlW2yCOGjmanE6DvkZ DAYhu+7dRqCaqlVep9ob3hqbRWAIHP5yrjVEbAHwfKd10OjO8XTDakC7vij22ViAPias 83Fo3y5r2T73bBXB6EMpefT89FyZB6j1FyHlOEnD9rW2ogctie4wzChLBWUihUE+OZhC nD586k/Zxj/H7CVqotWCZPiYDoJ6GYmAPVP7Bd4HYOkwOX5jRDdksYYf4nzit3FId+nq fRdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710524977; x=1711129777; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ri1d3dJlUqukBAMX8sP6QcOpEh8ZF+suZuBhHxYWuLk=; b=stTGgr44Fgz0ojvx0uOYIFBeJYZqHoFXL5xdIReO8DkpaX/JkXsW/RCZdZOKlb3dmI zRFOCfptYZ5sHYgo0K5xIomdiy0V1KPon8aMdfEDFjZZyGHhTrV5B2shpbTyoEM3/jLX ExpKidQ/m68RmgU2G8QjUjhSp/Ho26H+ACYuDJJAKQ8GtiovWYOUGxXS8VQQwwu+QhOn 6x6ACZtCWcpj5vwip4DYZzEMQJiHbLf7qERHhuR02cDKYgA1d//x1tj7WT4ZSeRqMYIx MpLAEa6uBJ2iJV+NZUSvIJtTNR4mJM9fFSeZG50Fkg7Exe8OVAz3jyxGdAiilj3b9esQ HUZg== X-Forwarded-Encrypted: i=1; AJvYcCX23GTaKhDsJYYM+QW32xP6HUnb64FVgzPpgN46eQZS2RPfIh/l1W3bXD1aBbgllZl62yS14qWArUdVourEjd62iZfuXzo= X-Gm-Message-State: AOJu0YyrX881NLvm0hlJVOZFdlGh684uLZ/RposbAXBDHG3UM8x6DxMD 7Ulxls0RfX88bgVDWSI/IT33VS/sPXxMpr4sY7qUxm5c01d/UL+7OGayxrWP X-Google-Smtp-Source: AGHT+IHcfMSyGNX5CEN6DAiUVGMuexKqVwxIDSJrXHZDaX65ck0gvB3oxGcRuE3eLYQYfYi8biUCYA== X-Received: by 2002:a17:903:32d0:b0:1de:fe62:5462 with SMTP id i16-20020a17090332d000b001defe625462mr1128619plr.8.1710524976585; Fri, 15 Mar 2024 10:49:36 -0700 (PDT) Received: from storimasta ([2804:14c:5bb1:5200::f705]) by smtp.gmail.com with ESMTPSA id o5-20020a1709026b0500b001dc05535632sm4127204plk.170.2024.03.15.10.49.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 10:49:36 -0700 (PDT) From: Bruno Cardoso To: Ihor Radchenko Cc: William Denton , Emacs Org mode mailing list Subject: Re: Things got very slow: profiler output In-Reply-To: <87edcbza5f.fsf@localhost> References: <65e04d75.5d0a0220.767a3.41e0@mx.google.com> <8734svei2j.fsf@localhost> <87wmq5btzn.fsf@gmail.com> <87wmq4h5j6.fsf@localhost> <875xxo5miu.fsf@gmail.com> <87a5mzind4.fsf@localhost> <87v85n4fqh.fsf@gmail.com> <87edcbza5f.fsf@localhost> Date: Fri, 15 Mar 2024 14:49:33 -0300 Message-ID: <87sf0r4c7m.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=cardoso.bc@gmail.com; helo=mail-pl1-x62c.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.93 X-Spam-Score: -6.93 X-Migadu-Queue-Id: BCB2150A42 X-Migadu-Scanner: mx13.migadu.com X-TUID: llBU/cyKoPuQ On 2024-03-15, 17:18 +0000, Ihor Radchenko wrote: > Bruno Cardoso writes: > > May you do the following: > > 1. (require 'elp) > 2. (elp-instrument-function #'org-fold-core--property-symbol-get-create) > 3. Do actions in Org file > 4. (elp-results) > 5. See *ELP Profiling Results* > 6. (elp-restore-all) > > For me, the result is > > Function Name Call Count Elapsed Time Average Time > org-fold-core--property-symbol-get-create 27361 0.5646422580 2.063...e-05 > > (the time numbers are not real because instrumenting itself makes > function a lot slower, but we can compare the call count) > My call count is in fact higher: org-fold-core--property-symbol-get-create 196278 3.2828460320 1.672...e-05