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 ms9.migadu.com with LMTPS id iOsoHcPIT2SGhAAASxT56A (envelope-from ) for ; Mon, 01 May 2023 16:12:19 +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 8AoaHcPIT2QDZwEAauVa8A (envelope-from ) for ; Mon, 01 May 2023 16:12:19 +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 235FECBFC for ; Mon, 1 May 2023 16:12:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptTQe-0000b8-CE; Mon, 01 May 2023 09:18:56 -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 1ptTQc-0000ar-Mf for emacs-orgmode@gnu.org; Mon, 01 May 2023 09:18:54 -0400 Received: from [39.171.215.100] (helo=Mac-mini.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptTQZ-0003rs-Nu for emacs-orgmode@gnu.org; Mon, 01 May 2023 09:18:54 -0400 Received: by Mac-mini.local (Postfix, from userid 501) id 9DD6B8AA086C; Mon, 1 May 2023 21:18:43 +0800 (CST) References: <87pm7lyvdd.fsf@localhost> <87jzxsqyme.fsf@localhost> <874jow8eaf.fsf@localhost> <871qk08bwi.fsf@localhost> User-agent: mu4e 1.10.3; emacs 30.0.50 From: "Christopher M. Miles" To: Ihor Radchenko Cc: "Christopher M. Miles" , emacs-orgmode@gnu.org Subject: Re: [SUGGESTION] Re: [PATCH] org-crypt-decrypt-entry: Apply initial visibility upon decryption Date: Mon, 01 May 2023 21:12:45 +0800 In-reply-to: <871qk08bwi.fsf@localhost> Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 39.171.215.100 (deferred) Received-SPF: softfail client-ip=39.171.215.100; envelope-from=numbchild@gmail.com; helo=Mac-mini.local X-Spam_score_int: 58 X-Spam_score: 5.8 X-Spam_bar: +++++ X-Spam_report: (5.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, MSGID_MULTIPLE_AT=1, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_PBL=3.335, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL_NO_RDNS=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: reject 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: , Reply-To: numbchild@gmail.com 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682950339; a=rsa-sha256; cv=none; b=JQfc1/pRJxZRXZJknf/4hEN8znaHEUsbhjy1pbTITVqjT60mCxcmHVUwzbrThwfwzQevC7 rEeEYcJ7LoNRV6mT6g8ajbN+dnOpJXWq0pfsqav8PwF7dU34tchMc+QhJ/TT7ssYip2B6E KZ0ZLLpAsHHKMew8SNrgF3nZl2J5qBoqA38KUfiMafZXp5XnmyvHYDCd+LrFcKhRWdiQUn 5u5K2NCYS/hPgvasgMSWwEZFPYlCb1J05cqcHfYFg/hD82nlHm08qtpOikYtwuWIUGHeI4 JYAW5FNpcpsFIuoVgzGAA0uCWWRN0Gwm69PfooKewjJn2/NEMayVaYGpqT/brg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682950339; h=from:from:sender:sender:reply-to: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; bh=RDth/XyWg+6Y7OGEBrf+kEefCsDQzuMj/uBRAsPHncM=; b=kRQ8Gy9/u4bM0dSnzFWG5/kgOG8yfKv1v2kfdH0qONpELLmFLFz/wtZktclYiMqGHWsoMl /L9EZSMQ7MevpKzTTcTLK50/KSFXBXncytopcIZTgKEMg84w/ZdmRAk5Ak7wLBmyB7yLKH VX2sKbUlPPIaBsBRH3etniJnkxmNIzT5H3kXeISi0XoOk9L6f+HC3MUk0oOY4RTjSb/h7+ 69XPI1rXR8cY1nqO16HYMywBabnIL4bW+nKoEAH6DLvYi+7tD3pCF3E1Ws1ZMfClmEJ+5+ mbiX4IZafHhQ7gyca+MwdZT9ExDORzS11Tnae0/t0fXzrAkfwYHC4RThL787KA== X-Migadu-Spam-Score: -2.71 X-Spam-Score: -2.71 X-Migadu-Queue-Id: 235FECBFC X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); 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-TUID: B16hWj7qGTYg --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>>>> May you elaborate what performance issues you are experiencing? >>>> >>>> My performance issue is a large Org file about 2M size on saving. I wi= ll >>>> reproduce and generate profiler report for more detailed data and upda= te >>>> in this thread. >>> >>> Please save the report using M-x profiler-report-write-profile - it will >>> produce Elisp data that can be re-opened and examined directly. >> >> I attached CPU and Memory report in attachments. > > This CPU report is not just for saving. You did M-x (vectico), `undo', > `org-clock-in', and `save-buffer'. `save-buffer' took no time. And > everything took less than one second. > > Are you sure that it is the correct profile? The current CPU report indeed not contains heavy org-crypt. Because my epa get problem. When I edit a GnuPG encrypted "encrypt.org.gpg", it suspend on epa waiting for process to finished. It never ends unless I press [C-g] to quit it. So I can't reproduce the Org file contains org-crypt headlines saving profiler report. Sorry that I have not mentioned this actual background reason. I indeed did a profiler report before (about 3 months ago), and the profiler report use lot of time on org-crypt invocation. Hmm, maybe problem gone as time scrolls. I will mark this as task in my Org Agenda, and take time to profiler report again, make sure org-crypt is heavy, then update here. Regards, =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express without mi= sunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmRPvDMACgkQG13xyVro msPXiQf/Wb5Kcy9xh4C+F6ggnxuc6JFRVV09pnCVi5G68Wxu4Z+9Eti6mTajSimm 4ACNxX+sEfxnpVhRdoX4j4zo1AYDTDkqDHun5ehZdSz9DDL92e4eBwaIfJHCEhny NT5tYnr/JrSvzRbCsAtuOyl9XcvoF2jn2h3gPpNpNF2d4JnL9vCO7mQVLgAbZGAV bzDrj2HZi+LnIrzaeTKlRG4udjgoQKW2J/UmLiMCFEEJs+u5Uaq3A++0EEKLoEmv 6mW7jYywRYcj6wYiviiYmvVzTSNhHGx3sQ2XCwmBCfhU1n8GSLfpcpJYtj1QejjE 9X7LarMJopDBzXIljRO5bmJ0tT9+Aw== =N3iI -----END PGP SIGNATURE----- --=-=-=--