From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UPcTLCHPKWOK4QAAbAwnHQ (envelope-from ) for ; Tue, 20 Sep 2022 16:33:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aDb0KyHPKWM0RQAAauVa8A (envelope-from ) for ; Tue, 20 Sep 2022 16:33:05 +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 64D85EA2A for ; Tue, 20 Sep 2022 16:33:05 +0200 (CEST) Received: from localhost ([::1]:52216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaeJ6-0008I1-Gf for larch@yhetil.org; Tue, 20 Sep 2022 10:33:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oabRj-0003Cx-AL for emacs-orgmode@gnu.org; Tue, 20 Sep 2022 07:29:55 -0400 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:52746) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oabRh-0008Qq-EA for emacs-orgmode@gnu.org; Tue, 20 Sep 2022 07:29:47 -0400 Received: by mail-pj1-x102c.google.com with SMTP id go6so2722999pjb.2 for ; Tue, 20 Sep 2022 04:29:44 -0700 (PDT) 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:cc:to:from:from:to:cc:subject:date; bh=qusN39aU/31PHh69v//l4JqzlY3ceyepfrwM6wxpYmU=; b=PfUkOC84FJjCTjWz5lbjqekqhL0nEa8JHYHql6er9Q8GlGf3U7Sgld1NXk9tLpmyPg 4UV3ThWX6I++x3FV1bkLiWxrEkq6v67Unw2448cgA6CasK3MRj7brSd0CszVW0HOy3uc nm245YAZyXZXFY8fE2Nb7rrTw0qMbnl8zeJdRbl0Nn+rem9UkiJN+EdoMvyj+Ac5YtET EHMTM7sPQAb0UKxLE7VTHU0DtlNmgy7FrY3m8jNwJeLPafdIrTy9JYMzH2mklRC56ARC K6Z4ThIoSWsNNfwRb1XezWNmu9QL0E3Ff682N7GplBHdPBccoT5gaYb8AAOjDeMoqgeS 5S8A== 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:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=qusN39aU/31PHh69v//l4JqzlY3ceyepfrwM6wxpYmU=; b=JtQ98CEPUbS+tu1mG/1s1a/bBd+rHPJa3o1+gZb03Q7a6fcAN1qqAfZuu2zmdEC/Pc aQnx/0pXJim5EkaYK6EpB+/VfgCrmqruwoTGQHG7kaQxDtf84o2Ooge581buhjNLHvwg jTzECWm2kfMQvDrW09iCyv7UYuWlmvhmRG3somgG/pjr4CKm5F0Icxz6SaibyC+jq5To exmNXwF0ft93VAKdne1PAoZGPySG/oLTltJN8E0gVTDq3uIpoS+RMBQ5slRZLRQGSdtQ Huy419Hymg0kQgEdR9hl46Dd7bgL1qgI0zdaX9esHWE7RSb10e3ulr+TX79mEKN8s87t xkmw== X-Gm-Message-State: ACrzQf3ZI+zRO5xQvo04KKhANoPho7hY47G8DloBZVLRleHyOowl6e9H sVLTes/UUkj9YiFgjnMRuew= X-Google-Smtp-Source: AMsMyM51I4Gp7xM1knVjQB3Jko+8OvQ19ajCl2bdj6m2alMmBAYfGHxd57EW9xaQPSViBdaSq2ZqFg== X-Received: by 2002:a17:90b:33d2:b0:203:15e7:1571 with SMTP id lk18-20020a17090b33d200b0020315e71571mr3411695pjb.186.1663673383389; Tue, 20 Sep 2022 04:29:43 -0700 (PDT) Received: from localhost ([2409:8a70:2b5:ad00:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id s1-20020a170902b18100b00172973d3cd9sm1213431plr.55.2022.09.20.04.29.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 04:29:42 -0700 (PDT) From: Ihor Radchenko To: =?utf-8?Q?andr=C3=A9s_ram=C3=ADrez?= Cc: emacs-orgmode@gnu.org 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/)] In-Reply-To: References: <87wnaeo18w.fsf@localhost> <8735cwujed.fsf@localhost> <87k068t1qf.fsf@localhost> <87h71bdgr3.fsf@localhost> <87wna6ya45.fsf@localhost> <87v8poszqb.fsf@localhost> Date: Tue, 20 Sep 2022 19:30:37 +0800 Message-ID: <87tu52z3j6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102c.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, 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=1663684385; 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: 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=qusN39aU/31PHh69v//l4JqzlY3ceyepfrwM6wxpYmU=; b=lpqNFqG5PXLAAS1EcSyPzwF5m/xD4RVneJJ2Hq4igHpmuuq2yKIKSwGpiQZTa2Wy/nqDUG 8zpm0FhaEBlTJDv8Z7EenzC1fveDGHcF7ICUls7B0tWRyRBDcdgqJ3NJPlqrbsNDBDR0Su iFdQEynpsdNes5v4JsO1dZBfXpuv1v3Nf5d9MNH/Wd9x9ypRYTvKdKbaDM9k2A6DuoXsX0 dvdYKqwSImPbofnuELlSvb4u3cqRz3MFCisSR+IqlrvFoeyaXbCAIDiQb/5fYuPu0FyA+F BpwsRUuDtZOwy7ca1z/1SD8HRTG7byd4hQceK5CCo8eihcoMDJ1y21KE4h5qYA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663684385; a=rsa-sha256; cv=none; b=WNmOcJ+wsLJpGYpr+vh0CYDJJLtcpUcXhfTJUbos0Qn4McddSD5wvjounMARZsJZubLl0j fC2PDvv9JYH093Yv/zsUbbq9BFFVSFnELkDksyRLHuRcsvkABAJEvR2DcyTKnu3HoqyNK1 6ln8XyFTm4ImYG2vCo5VRMuB7Baqr6da0t8qVM7ftyXioSZHBZXDEBav+e0s1usPtx+wXj dGHGq1EHnJagnj92YF3GbqD7wJJOru9fKhmgOWWOIGm9bFnbnr0msP8Wq7P2iimknOxqAO aWnnFFePj7E4RGbgl+Rb0c8B8rAlsDctoZKuVfA79jDumO9MTnnZOw7SE59VDw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=PfUkOC84; 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.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=PfUkOC84; 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: 64D85EA2A X-Spam-Score: -3.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: hd+67+RiztBD andr=C3=A9s ram=C3=ADrez writes: > Ihor> Please try again on the latest main. > > Now it is taking 33s vs 22s from emacs-27 on a cold-boot. Thanks for providing more profiling data. I just pushed yet another performance improvement onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D0057cc21e= 13769ec2f8971d49f4e832c6621a2ac Can you please try again with the newest Org? Also, note that a good fraction of loading time is taken by org-modules (19%) and loading other libraries (10%). Subsequent agenda rebuilds should be faster. --=20 Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92