From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuchen Pei Newsgroups: gmane.emacs.devel Subject: =?US-ASCII?Q?Re=3A_29=2E0=2E91_756244c696_Saving_large_org_file?= =?US-ASCII?Q?_can_be_slow_with_time-stamp_before-save-hook?= Date: Mon, 12 Jun 2023 23:28:53 +1000 Message-ID: <8805E207-E121-43EE-A6CC-0EAA5758D3AD@ypei.org> References: <87ilc4ok4d.fsf@ypei.org> <87pm6blp8u.fsf@localhost> <877cs8omhj.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8223"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android Cc: emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 12 15:31:12 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q8hdW-0001uk-N1 for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Jun 2023 15:31:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q8hcp-0001kQ-DK; Mon, 12 Jun 2023 09:30:27 -0400 Original-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 1q8hbd-0000zE-7V for emacs-devel@gnu.org; Mon, 12 Jun 2023 09:29:20 -0400 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q8hbX-0003pA-Bf for emacs-devel@gnu.org; Mon, 12 Jun 2023 09:29:11 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 27F2C3200961; Mon, 12 Jun 2023 09:29:02 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 12 Jun 2023 09:29:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ypei.org; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1686576541; x=1686662941; bh=fS4njuFIPsnBeXET5dDXeDgNydckZ4neda8 IAYzr2iw=; b=wUslnw6GgcG+eioWGC4jn6Br7SSMz+JA/4i6Jty6Yso0+AXfbvL kRD8hsquZV95H+qAZ/lGOiRJYFlbT6uO82yr6dnLCoOAxZOoTuROj8B044go+l0V QFDbkMjkk5BJ77aLUjQCBau0oJZiIlt45O1uEmL8Wi8RpBFzNu+GnFGAeIXed+Kv 1Pu7G8+vbC9Pgkpr+lH/qCtB1KUzppiqnw+g5fjCoESJPEtMIE8crOakEtvxKVUS 2Vu0vRIAyWmgK8abC+FJY7RWFdbYDd78X2fXiCgczCmE5ahlL2h/RfHn/slu5M9d 3bCCnZvE6AXlRv7Cgv80zv8Bk1840moiTug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1686576541; x=1686662941; bh=fS4njuFIPsnBeXET5dDXeDgNydckZ4neda8 IAYzr2iw=; b=SyG/fd9kfFP8DvqcKiOZYj1wZUgDHLcsRwv7knlfAzON+PRAOqh HEicq92vjoF3zgmiMZxOfrVK+px8t4jAzIAZveB1Jw0dJq+pinvsqaCgABQv6aT7 JmCdGplLnW7T5L6NKISkRWcvjuibQf5UitD5NzxgmwhpDyHsyX5e3UwEkbqRDOEM oEcpyJHDpG3y1BgNy2pH7gSXJViRD4Z3ZjJ9bKla6K3uLW6ErqrcTcihcedmO/Kw GWBEoeL6DCLipM53Y8mUB7a03yfkJtExAjX9CoX99dd/oFcT8Fi1/sk68WiSR5q/ CfuoFOencuKGNcyrEjFs7IKm6h0qgGVfyfg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeduhedgieefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefufggjfhfkgggtgfesth hqmhdttderjeenucfhrhhomhepjghutghhvghnucfrvghiuceoihguseihphgvihdrohhr gheqnecuggftrfgrthhtvghrnhepveduieeltdfhuedvheelheelhffhueetveehuddvge fgledvgfevleefudekieeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomhepihguseihphgvihdrohhrgh X-ME-Proxy: Feedback-ID: i51b146f9:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 12 Jun 2023 09:28:59 -0400 (EDT) In-Reply-To: <877cs8omhj.fsf@localhost> Received-SPF: pass client-ip=64.147.123.19; envelope-from=id@ypei.org; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306749 Archived-At: On 12 June 2023 23:10:00 GMT+10:00, Ihor Radchenko = wrote: >Yuchen Pei writes: > >>>Yuchen, may you try to set `parse-sexp-lookup-properties' locally to ni= l >>>in your large Org buffer? If it helps, that's it=2E >>> >> >> Thanks=2E Tried that, and it did not fix the issue=2E > >Ok=2E I tried to open a large Org file and somehow got: > > > ~/Git/emacs/src/emacs -Q -l /tmp/bug=2Eel=20 > double free or corruption (out) > Fatal error 6: Aborted > >But only once=2E Next attempts did not show any obvious slowdown when >opening a large (22Mb) file, adding # Time-stamp: <>, and C-x C-s > >On Emacs master=2E > Thanks for checking, but that is not the whole reprod process - it misses = generating a big refile cache etc, see my original message=2E