From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0CmPAwCic196dAAA0tVLHw (envelope-from ) for ; Tue, 29 Sep 2020 21:07:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id EHHfOv+hc1+7fgAAbx9fmQ (envelope-from ) for ; Tue, 29 Sep 2020 21:07:11 +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 5ABA394042B for ; Tue, 29 Sep 2020 21:07:11 +0000 (UTC) Received: from localhost ([::1]:34006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNMq5-0000BK-Ck for larch@yhetil.org; Tue, 29 Sep 2020 17:07:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNMph-0000Am-5B for emacs-orgmode@gnu.org; Tue, 29 Sep 2020 17:06:45 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:44309) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNMpf-0001Ow-KZ for emacs-orgmode@gnu.org; Tue, 29 Sep 2020 17:06:44 -0400 Received: by mail-wr1-x433.google.com with SMTP id s12so6963598wrw.11 for ; Tue, 29 Sep 2020 14:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=4QSIDTkR3bDQvGwnsDwIaTg6GWJjIsaFCJfswvIT8vQ=; b=mv051M2jvDI6TIWjELEuUFP2HR1nr+2xUl7CyrQ6k//bmBxWfRjqZIK0IP5ih1nI2Z xkup2HTnB7+/30BXh7Y6x6hlGoh6o9EJqB6fe0US7Zgn99MXApbRdktPzOSGOFSZcs6F VxITHK5889sSBPI+JoTdKuHckwcEz1jlAi0uKZwuOdJdp0YEfv5rXwRuQ8HPjtox/SUR oQxGmlJ79jn565Bxu1rRIYLzwz7fUr9GLR+CZOAWB5TYhBqishi1ayGx4NsGh1HLICq2 uvh5wTL/aVg2UowijK1ymJnS4QKi2X9y1w3ZGQmNw4FxEYmegfezizQNl12amgn2SDFB p9qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=4QSIDTkR3bDQvGwnsDwIaTg6GWJjIsaFCJfswvIT8vQ=; b=tjQKHp00DpKlxBPafJI/KRZabRVfNFXYcTSXYoonorPLKC6MLji0fZhOZHiGHOtHbZ /fHOud5PPJ7/0tS7ml6feivEzpEYIfYx4bnz+iFOIQG5Gx6MM0c2Mnqht6FE27K/7qyi FIu5jen90HhlDRZUSw8CrsgbbIEPE94nOfvsQFJcm5r1/KY+ouFLiVC5+s2cAck7W6f0 AI/g2B2LY+BCWaXc+elyIEb61qVs+hmxWRm/v/sa3feVAIcEV+2Fk4oqB/RoBYYcJ/yl mgenlMciZFTXV+cD3gnDoRu/GcRgRpmG+CptoLxfjf0oSi7ndiM46S1U6qq71gjqzI5p GvPA== X-Gm-Message-State: AOAM532kPPDNXrIQat56yKCvnqTf/IvrKOZLwFEP9SdetvNluL+pPDwW etqkkykru0Rf2H3WK+ZdjBhzE8zqbQM= X-Google-Smtp-Source: ABdhPJwNIFpNYstgtT1GW7T3B03nnaIaNQ+/fEK77oPTGW+4mxyRKztK+ptCfKtI44ZDkZ/0RzYi8w== X-Received: by 2002:a5d:608f:: with SMTP id w15mr6319273wrt.244.1601413601563; Tue, 29 Sep 2020 14:06:41 -0700 (PDT) Received: from freegnu (24.183.22.109.rev.sfr.net. [109.22.183.24]) by smtp.gmail.com with ESMTPSA id b64sm7102767wmh.13.2020.09.29.14.06.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 14:06:40 -0700 (PDT) From: Jeremie Juste To: emacs-orgmode@gnu.org Subject: Re: opening a 0.5 MB org file is slow References: <871rik4cv0.fsf@mat.ucm.es> Date: Tue, 29 Sep 2020 23:06:39 +0200 In-Reply-To: <871rik4cv0.fsf@mat.ucm.es> (Uwe Brauer's message of "Tue, 29 Sep 2020 21:11:31 +0200") Message-ID: <87eemknvhc.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=jeremiejuste@gmail.com; helo=mail-wr1-x433.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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: 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: , 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=gmail.com header.s=20161025 header.b=mv051M2j; dmarc=pass (policy=none) header.from=gmail.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: -0.21 X-TUID: 8Es16pRBTh9L Hello Uwe, Can you test with emacs -Q ? A 1.6M org file took a little under 7 sec on my computer. It probably depends on the number of minor modes are being loaded, font-lock, auto-completion, etc. I'm afraid I don't know how to profile the opening of a file. Does anybody know a function that would do the profiling like elp-instrument-function for functions? -- HTH Jeremie Juste On Tuesday, 29 Sep 2020 at 21:11, Uwe Brauer wrote: > Hi > > maybe I am just to impatient but on my 8 GB Thinkpad X1 (4gen) to open a > 0.5MB org file takes around 15 sec. > > Any change to speed this up? > > Thanks and regards > > Uwe Brauer >