From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KFhlBrlht2aUfgEAqHPOHw:P1 (envelope-from ) for ; Sat, 10 Aug 2024 12:48:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KFhlBrlht2aUfgEAqHPOHw (envelope-from ) for ; Sat, 10 Aug 2024 14:48:57 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="JlMXy//3"; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723294136; 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=kA+jGEdzxtH33BTGTRgYTmiieCZmfj8hlDVusIsOmgc=; b=LWM63jNayhJX70D+/2tdvzeY2894bdlOwD+AB6So9N6cAipvP69nIJiTwoWTSpzAtdxWGs YsQe9uAK3JAash7T4iIm49mvqaRD2fZAt8eqzSA3ZM7vUjsF5ba7+GjfbMq1Plbpl6QOZb 0faLnlaBts+T0n70h3TeLo70vvU5uv4ZlgVaaFHKC1/mfvjG37lLr6a08zlxNLk7LQFXwk huO6VQiHQH0oZSpzjc4ywXJH8d0Kkdc6YzRIJ+wHqSxMxe9RAiof7qmABABmf4AfQD2b5G +syjHjYN7yonJVhTEBPef49tzXlTv9W+H14A9VCjaOYvQFB459QLb2R97PQA0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="JlMXy//3"; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723294136; a=rsa-sha256; cv=none; b=WzpoEjHT0CGubj0sZPaJYSiLkiuErLPdQYsiXDNWbA2pzY0iKA1wyHc8zkgSlLihDCreY4 Nb9Yzp7aRVqD8qCW1txEBUsa+NyZoi1kfM5rppd0G0VwneIQNcmM9YvK8j12IHclm5Mmv/ NMEJ9diZeJtYrOyDqOwqkOI+TI9pcdUhtbzNxnDEr/BQtVHf1CJ9cjW6117rKAuVYAXw9D 9Qo11F+iNTrZQDYUcSxNVKbqL36o2XZquFR6gxTW1n3er/C9z7g8RG7nRx7ZA8tAkTKyiF EjebOmUiUSlk1d5I7C+yRYgtXxOG2eyuzWYE+mhtkLgr6njBcH7aBxpLHjvyjw== 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 C9C8B25076 for ; Sat, 10 Aug 2024 14:48:56 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sclW7-0000sz-2L; Sat, 10 Aug 2024 08:48:19 -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 1sclVd-0000ov-UY for emacs-orgmode@gnu.org; Sat, 10 Aug 2024 08:47:52 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sclVb-0007st-GG for emacs-orgmode@gnu.org; Sat, 10 Aug 2024 08:47:49 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 13725240027 for ; Sat, 10 Aug 2024 14:47:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1723294065; bh=lnED0N8cjLlFQANYY/lbynTN7yBuunnqNkm92nTDP1o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=JlMXy//3pnKKmuhueODsG8Bxr1mXkp894GQNvXp+uN5KLoeJw7uETbnL8NXK2Kftm OPtofgLsc+Vt7DF692R6Ij300Hf369lvL9brMDqgY6GYLVD9S2MteDPhniP15u7YXu Qw9kSON9VfSA05HC07E/zi/ezDW7qktQEh5KNTKYzTPfQqiNUg9LT/K6uF14dryHtZ WTrCC5Chcai23qyf2SQx3Kyio6W8zZvOIMib1myutGyqX2IzWOxPs6qnSKhCKcEhch eqOJhIv1n4bUGLdZDErlxmS36RFhRO2zY3TRy4OHfqRavfKX2VCRLDs85cOOBrrHyK LqBwF3FQ3QZOQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Wh0tR6dRqz6twL; Sat, 10 Aug 2024 14:47:43 +0200 (CEST) From: Ihor Radchenko To: Visuwesh Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-persist-write-all is slow because of use of pp [9.8-pre (release_9.7.8-713-g62cbac @ /home/viz/lib/emacs/straight/build/org/)] In-Reply-To: <87r0axvu7y.fsf@gmail.com> References: <87r0axvu7y.fsf@gmail.com> Date: Sat, 10 Aug 2024 12:48:55 +0000 Message-ID: <87ttfs35mw.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.67 X-Migadu-Queue-Id: C9C8B25076 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.67 X-TUID: ow7y24P1HuhX Visuwesh writes: > I am using the async LaTeX preview branch and org-persist-write-all > takes a lot of time to finish executing due to the use of pp when saving > the index file. Changing org-persist-write:index to not pass a non-nil > PP argument to org-persist--write-elisp-file changes the execution time > of org-persist-write-all from 62 secs to just 8 secs. For reference, > > (length org-persist--index) ;; =E2=87=92 1504 > > I have attached the profiler report for org-persist--index of much > smaller length but if required I can reproduce a report for the full one > too. So much for the idea of readable index file. Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3Df9351456e7 --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at