From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0N4UDy03al+uAQAA0tVLHw (envelope-from ) for ; Tue, 22 Sep 2020 17:41:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EJ6/Ci03al/bdwAAB5/wlQ (envelope-from ) for ; Tue, 22 Sep 2020 17:41:01 +0000 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 3FFE19402B2 for ; Tue, 22 Sep 2020 17:41:00 +0000 (UTC) Received: from localhost ([::1]:35042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKmHh-00029Z-C7 for larch@yhetil.org; Tue, 22 Sep 2020 13:40:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKmAb-0005MV-M3 for emacs-orgmode@gnu.org; Tue, 22 Sep 2020 13:33:37 -0400 Received: from mail1.protonmail.ch ([185.70.40.18]:64975) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKmAZ-0002gw-7A for emacs-orgmode@gnu.org; Tue, 22 Sep 2020 13:33:37 -0400 Date: Tue, 22 Sep 2020 17:33:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klockmail.com; s=protonmail; t=1600796010; bh=t1S6ZBu8/a5Ikca88CozInCihfqyM1sU9lTuSI3WkDQ=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=tJNf+vrxMntd5IkqestfK5ZCDOoh+sHilzDEyT1e+Z0sNzuyJlBMn8oIg4jtaYADT q5qHD7zJKnQCQX7aXky6dG+3V/xGlCbFRbOQzg3RN8WsOAFs78zxtU6L4LuC5pcAtG X1oItyQbr1nU6BtfU4iwqk10IqZcPWEkKrshqrn4= To: Peter Bienstman , emacs-orgmode@gnu.org From: Andy Klock Subject: Re: Slow to open certain file Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.18; envelope-from=andy@klockmail.com; helo=mail1.protonmail.ch X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/22 13:33:31 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Andy Klock Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=klockmail.com header.s=protonmail header.b=tJNf+vrx; dmarc=pass (policy=none) header.from=klockmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: s4PHEOZGI58l "Peter Bienstman" writes: > Is there anything I can do to speed this up?=20 Might be a good idea to profile the operation to see where it is=20 spending time. Can you: M-x profiler-start C-x C-f (or whatever you are doing to open the file) M-x profiler-report Here's my output on your file: https://p.andyklock.com/_CPU-Profiler-Report_2020-09-22_13_27_05_.html Maybe that will help point you into the right (or at least a)=20 direction. Andy K REF: https://www.gnu.org/software/emacs/manual/html_node/elisp/Profiling.html