From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EBvFHk0jGmKjOAAAgWs5BA (envelope-from ) for ; Sat, 26 Feb 2022 13:55:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WPM0G00jGmIdTwAAauVa8A (envelope-from ) for ; Sat, 26 Feb 2022 13:55:41 +0100 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 E677C29A47 for ; Sat, 26 Feb 2022 13:55:40 +0100 (CET) Received: from localhost ([::1]:35898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nNwbr-000526-IX for larch@yhetil.org; Sat, 26 Feb 2022 07:55:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNwSW-0001QK-Sb for emacs-orgmode@gnu.org; Sat, 26 Feb 2022 07:46:02 -0500 Received: from ciao.gmane.io ([116.202.254.214]:44052) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNwSU-0003L3-DD for emacs-orgmode@gnu.org; Sat, 26 Feb 2022 07:46:00 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nNwSR-0000xU-Be for emacs-orgmode@gnu.org; Sat, 26 Feb 2022 13:45:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: profiling latency in large org-mode buffers (under both main & org-fold feature) Date: Sat, 26 Feb 2022 19:45:46 +0700 Message-ID: References: <87fsobpism.fsf@localhost> <87r17to817.fsf@localhost> <87lexy2hrz.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US In-Reply-To: <87lexy2hrz.fsf@localhost> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645880140; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=iU93wzZXRBwUK92rYVnPS2O92k/IIa8woemRe10xXwU=; b=GnXUvEWgSk/aKRRfZSYKHceJk6Ht3oBI+1kFt6wYVVVa+H27wq4FBSIS6CWKPFCywTT18C 6NWbDI8JjpvhAitZsXNjQ6e1ASsmCUpCfE4n+B0y7mDkuXGJzJlip+tnfxubzhx9T4Tp6g lN7CI4jlgkOKLucQw0dCZqx65pAIzDLwECBM2aM9bY0u26ZfA7M8dFWmnKNo2b3h/nzj4U Zn5jANYe7u+Rsm+9DZy+AR4aYU2HqlaBhlGRh2ds4Ji1xDNlBb0jI7XB0eSEyS61Arv0kQ g3L4znXzviuboekymOP/d93uzhS/3oG9qKjfd6YdWeXb+PWUaYurzaLbLN6tpg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645880140; a=rsa-sha256; cv=none; b=sfEQVEMogyMmnHmWqIs0k+AXSn0D7ITJgYI+u8xuETAYzyluuaRnqAB+0s3vFGTVGsvHE3 HH0c8EpoENVI/2qpVINPZqnEN3O3Y2Nwt5LKl7DlPoLHzRIjxR5KXLsxRCC5IXKWTUs6S/ zudpcIh8ImN1gHOPmKhHyaKgNyumJkPP+iDWu1TlBcnRS35ABP4OTr19rtr59F4G0q1vEC iX7beoBjhXVLq6Aww+LvbUyH4G086MRsbozxJTgOPmymm+vwjh/RPgsKAAnVyRtKMAHGTK +yrw8tIVHWKGKkcaBKXQfebReTIOxHtAqM9lkd2Bg4E2pDzSyUyCbPiicCqZYg== 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" X-Migadu-Spam-Score: 2.38 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-Migadu-Queue-Id: E677C29A47 X-Spam-Score: 2.38 X-Migadu-Scanner: scn0.migadu.com X-TUID: zSMzfoukBKTT On 26/02/2022 14:45, Ihor Radchenko wrote: > > I think we have a misunderstanding here. That page does not contain much > of technical details. Rather a history. Thank you for clarification. Certainly originally I had a hope to get some explanation why it was not implemented in a more efficient way. At first I read starting part of the text. It was still interesting to read the story that due to delay of Emacs release people had to fork it into Lucid. I did not know that XEmacs was a successor of Lucid. > Max Nikulin writes: >> Actually I suspect that markers may have a similar problem during regexp >> searches. I am curious if it is possible to invoke a kind of "vacuum" >> (in SQL parlance). Folding all headings and resetting refile cache does >> not restore performance to the initial state at session startup. Maybe >> it is effect of incremental searches. > > I doubt that markers have anything to do with regexp search itself > (directly). They should only come into play when editing text in buffer, > where their performance is also O(N_markers). I believed, your confirmed my conclusion earlier: Ihor Radchenko. Re: [BUG] org-goto slows down org-set-property. Sun, 11 Jul 2021 19:49:08 +0800. https://list.orgmode.org/orgmode/87lf6dul3f.fsf@localhost/