From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yA+iIfvoK2PAogAAbAwnHQ (envelope-from ) for ; Thu, 22 Sep 2022 06:47:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id fZHGIfvoK2PsYAEA9RJhRA (envelope-from ) for ; Thu, 22 Sep 2022 06:47:55 +0200 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 2D21E38D00 for ; Thu, 22 Sep 2022 06:47:55 +0200 (CEST) Received: from localhost ([::1]:50286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obE7u-0006PH-Dk for larch@yhetil.org; Thu, 22 Sep 2022 00:47:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obE42-000429-OT for emacs-orgmode@gnu.org; Thu, 22 Sep 2022 00:43:58 -0400 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:44639) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obE40-0004tn-Vq for emacs-orgmode@gnu.org; Thu, 22 Sep 2022 00:43:54 -0400 Received: by mail-lf1-x135.google.com with SMTP id i26so12678418lfp.11 for ; Wed, 21 Sep 2022 21:43:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=TzWEovz2blREf/Ii0DYYFNKKxnsiePBrHLgzPgIiAb0=; b=CBu56gfJzUK/PcCg/WbXTTjIkol1gSTDE07XotBpwvS6RL6cMa3G0vYPjGEK2iSfE3 0EkWzxrKkRsu4xo9/DsEoHuTM8KjXm7ipymJ2k3x2JWsw+RXMnxr77P4/mkVavrllN7R jlKNaj+WOit6k4coAFNbXEiYuY58S16Fs+j/3lu7/VY4serrp3m7MAWP0+bBDL5zeEr2 fvWHgSxWIbJKeAIS7njf0nQSa0OOfh1eeLcInO7qMnxxfPkLPFtmHicQILpSFradyJkE 4NGmBVHXgjmF0EfCGs8nANupZOJisXjTgP1irs4kySRSXqk5lLe2Q1lndBa3M6ik56yA zKvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=TzWEovz2blREf/Ii0DYYFNKKxnsiePBrHLgzPgIiAb0=; b=qYuxirBeHv35ix/2oOqX0DBK8teFz586/L5ZlMa+2QzrBmTGDdC5mEIqpIcb5GibCH c+3kkiVeXXLIGVhZMlSD68HByVscah0HTHuiVzX49aKbtWRC9G0CtJYi9aHC/RyUTBHM fnMrKj6GdT/yX/plRBwQwBxQJ3SBTbg23wBXgUYv2nyj607WeObpv5t21DD3QwCF4Y+b v+azDWBfKvWb868rttAVzXSFC+AI48QlY4cr72e3M9nsCsCP/J3mV2YODuMhPxv5pvlb FERAN9TJMo/UsHRNoaAZI5uDhIDkgGRxo1Z2WPL48RuEv/27wpvaTghpjsoq55Jk1L/4 vG/A== X-Gm-Message-State: ACrzQf2D3TCg+y2fCt5o3WbtkVTihcHksq0SHsSn70rqrDfYQwJZXKzG oh+TIt+ab2aa4+otYw02zMrVbBQushf0AQKZ/2Q= X-Google-Smtp-Source: AMsMyM6qsZGLiBVcVjFJPv/IcGUAR5ULaUWkjR9xzN0HBkY/JOZJIZuONlDf+Kxd2Xanw0Mx8u1+bK0F/XlVompAhwA= X-Received: by 2002:ac2:544a:0:b0:49f:4ecb:178d with SMTP id d10-20020ac2544a000000b0049f4ecb178dmr505666lfn.663.1663821827094; Wed, 21 Sep 2022 21:43:47 -0700 (PDT) MIME-Version: 1.0 References: <87wnaeo18w.fsf@localhost> <8735cwujed.fsf@localhost> <87k068t1qf.fsf@localhost> <87h71bdgr3.fsf@localhost> <87wna6ya45.fsf@localhost> <87v8poszqb.fsf@localhost> <87tu52z3j6.fsf@localhost> <8735cmyx0s.fsf@localhost> <87zgetxrjo.fsf@localhost> <87o7v8jd8r.fsf@localhost> In-Reply-To: From: Ihor Radchenko Date: Thu, 22 Sep 2022 12:44:34 +0800 Message-ID: Subject: Re: [BUG] org-agenda-list takes 4m compared to 27 that took 15 seconds [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)] To: =?UTF-8?B?YW5kcsOpcyByYW3DrXJleg==?= Cc: emacs-orgmode Content-Type: multipart/alternative; boundary="000000000000f9413f05e93cb479" Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=yantar92@gmail.com; helo=mail-lf1-x135.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: 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663822075; 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=TzWEovz2blREf/Ii0DYYFNKKxnsiePBrHLgzPgIiAb0=; b=ARxVjQr22LyvTGR7LDrpIWgDFn+AZiG+iuiYKgnsi0JtdgtdI01gMWFaGiIph8UlNAGnfM pDqeC1REmYzzmv+uYyrCNuE35pfeS0cXRYCsRYH51eXHF+quTEiSjdYeE/V83rg5Hk38yP sb3PrDtfAs0+In33ZW+eVSwLhXEMbxqNIxHTvL3NBinGz2a9+CpJj3wp21zrUyOFhwA0fp VL2ZrMxO085PcW3pi/h7ptANljvApwhWLJoeS9hWmxBFVOep+sx635CPAOG+ytted2i+S2 v4ZeVkjsxbHUKbhBWAN9dryqGzj6N8TSeHF8dvPxqOQJ/D0LrVKY4xEDR+6AjA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663822075; a=rsa-sha256; cv=none; b=WCNJSOOvN6uVRUgEuAmEALi+xphXmVe8qSOCDx2bH8yujQ7Cedh7c+29mFvkzBDchVa/na 9d4+3wIuBoZaJC7vVJo7jm/Eiqtgr/wJDo2RfK1yKWj/IjorqpiR/fk1Z2zDfD/CWs2Sud mWaxGDGsAGSVcX72QBsxAgbMxvloq0CDVxj9aTRB++mdcjv87wtGduaTDSpc5/zDtc1j5h B97tF+Goj+vfyKgE4+1tcqSiIdTBHoiNZoZcKLJQsRBpIzT02lD1CdtEzPrXcHF7xd3S5E JD4nmX0YueTan7flzcHYAofOko2mbtgqwcs96FknTeJojaGOORs1CsaD7nR7AQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=CBu56gfJ; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=CBu56gfJ; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 2D21E38D00 X-Spam-Score: -3.84 X-Migadu-Scanner: scn1.migadu.com X-TUID: SgG6OFX97M62 --000000000000f9413f05e93cb479 Content-Type: text/plain; charset="UTF-8" > > Ihor> Can you: 1. Load your agenda 2. Start 'cpu+mem profiler 3. > Rebuild the agenda 4. Share the > Ihor> obtained 'cpu _and_ 'mem reports > > I found an issue. > --8<---------------cut here---------------start------------->8--- > void-function org-looking-at > --8<---------------cut here---------------end--------------->8--- > Oops. Fixed. > Ihor> native-comp is improving things proportionally. It should > actually have higher impact on > Ihor> lower-end machine. I recommend native-comp unless you update > frequently (and hence need to > Ihor> re-compile using native-comp often). > > On my case. My distro which is archlinux-arm aka alarm for 32bits does > not provide the compiled package libgccjit. So compiling it takes > several hours on this little machine. cross-compiling it takes almost > 1h, but preparing the machine for cross-compilation takes time also. So > my conclusion is 'it does not worth the hassle'. > Makes sense. If you want to squeeze maximum out of Emacs startup and do not update frequently, you may look into https://archive.casouri.cat/note/2020/painless-transition-to-portable-dumper/index.html Best, Ihor --000000000000f9413f05e93cb479 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2=A0 =C2=A0 Ihor> Can you: 1. Load your agenda 2. Start 'cpu+mem p= rofiler 3. Rebuild the agenda 4. Share the
=C2=A0 =C2=A0 Ihor> obtained 'cpu _and_ 'mem reports

I found an issue.
--8<---------------cut here---------------start------------->8---
void-function org-looking-at
--8<---------------cut here---------------end--------------->8---
=

Oops. Fixed.
=C2=A0
=C2=A0 =C2=A0 Ihor> native-comp is improving things proportionally. It s= hould actually have higher impact on
=C2=A0 =C2=A0 Ihor> lower-end machine. I recommend native-comp unless yo= u update frequently (and hence need to
=C2=A0 =C2=A0 Ihor> re-compile using native-comp often).

On my case. My distro which is archlinux-arm aka alarm for 32bits does
not provide the compiled package libgccjit. So compiling it takes
several hours on this little machine. cross-compiling it takes almost
1h, but preparing the machine for cross-compilation takes time also. So
my conclusion is 'it does not worth the hassle'.

Makes sense.=C2=A0
If you want to squeeze maxim= um out of Emacs startup and do not update frequently, you may look into=C2= =A0https://archive.casouri.cat/note/2020/painless-= transition-to-portable-dumper/index.html

Best,=
Ihor
--000000000000f9413f05e93cb479--