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 ms0.migadu.com with LMTPS id COoJHQByE2EvnwAAgWs5BA (envelope-from ) for ; Wed, 11 Aug 2021 08:45:20 +0200 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 KJ6UGAByE2EdaQAAbx9fmQ (envelope-from ) for ; Wed, 11 Aug 2021 06:45:20 +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 D075B18D02 for ; Wed, 11 Aug 2021 08:45:19 +0200 (CEST) Received: from localhost ([::1]:49268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDhzJ-0002VP-TW for larch@yhetil.org; Wed, 11 Aug 2021 02:45:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDhxf-0008ST-6z for emacs-orgmode@gnu.org; Wed, 11 Aug 2021 02:43:35 -0400 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:37884) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDhxd-00087L-P2 for emacs-orgmode@gnu.org; Wed, 11 Aug 2021 02:43:34 -0400 Received: by mail-ej1-x62b.google.com with SMTP id h9so2175775ejs.4 for ; Tue, 10 Aug 2021 23:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=rAr95tOrHMXBkqHhHGKTg5K/JFd9tM4j/DEHCgOniDQ=; b=aqD3u4tEwfVcVmqY3qSN+QV9Vso2QUGGgXlNeJw8iJGDiac6qHIETLoSv66gmhXdep uYzHlE9YhMlo6JFgQYkEZJujXWbuSO1RUHALPdJiEuC7siYsTc4olyzbW/Nvqg5bhDGs bvt5iFVji6aP83OHRbC+e8qFEkxWmSAWen2LcofChCX2rHgbhw+uSUxxNTOxDX3VSDUq a4DZXEtYVz34cHAMp3ydYmAX3yYKELFcQ4Lz6pfLLwDxbfE6NZpAdIy9GUunXFkai/Or MByRb4THGJZNQVzgiApdf9JfpLlcXNCfTizodJ7Vo7O3uRulpZQ4g1yigimjK6RS0apa FxyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=rAr95tOrHMXBkqHhHGKTg5K/JFd9tM4j/DEHCgOniDQ=; b=q8t2qv51qk/U433eGKU0H+DQbBk7RyaftaXoZ96LWwJDhITn1074EJqat8PzPI8+2f NiPouDLAjm2cUWqXTvxMwV10Y8pTuuo21UVZzJcNAwsNdDqWDhVEBnawDt0wCRmh2Xfe az/HPjUN4TCy5IFDKYJ5umQGFdAEENdxMfRcaEEp/VPe47WcFmDp77D3LoLhrJXgxWQl 3JF9m4VLR+3vpjy+z5WM+2ItWEcpXUwU7BUAJ4lKZaun+G/PIhtB1hh5BWbsM43K53l8 VrpFn63YT54fbEi4qICVoyYqahn7kO+HbgaQ9oveG3+9pufnHbIbgNNNNL4a1rM66acs eiTA== X-Gm-Message-State: AOAM530GU+5ADQMxUZrgFogb6t4HF0tlTFtY1AgE7FRN9TObaAt2tTwo 7nPOKGNss+u3tCJeryZu+gY= X-Google-Smtp-Source: ABdhPJxRy73Hm/NLHObQAnF9ii2bgpNTWhgFI4l9oCZI1UwchyiO1tjo//Y8OVusYyTcfHmIE1bv9g== X-Received: by 2002:a17:907:170a:: with SMTP id le10mr2173055ejc.347.1628664212038; Tue, 10 Aug 2021 23:43:32 -0700 (PDT) Received: from localhost ([141.105.67.194]) by smtp.gmail.com with ESMTPSA id v20sm7686351ejq.17.2021.08.10.23.43.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Aug 2021 23:43:31 -0700 (PDT) From: Ihor Radchenko To: Samuel Wales Subject: Re: archiving speed [was Re: Tips on maintaining history in Org Mode] In-Reply-To: References: <87wnos8vqi.fsf@localhost> Date: Wed, 11 Aug 2021 14:43:51 +0800 Message-ID: <87tujw8orc.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=yantar92@gmail.com; helo=mail-ej1-x62b.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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: , Cc: emacs-orgmode@gnu.org, David Masterson Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628664320; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rAr95tOrHMXBkqHhHGKTg5K/JFd9tM4j/DEHCgOniDQ=; b=CSyUCY9u4rANyy9yYKdsMAk5eUDk5x2hPdSVkTzjOf7YriObfcSDo6P1v/4Mp7bKGJ+4Vt YYmGrI6ycPBbMT16ub/LYIOhyE7ksftGztRY4rwpRC225T0gNmAtD894W0Y8p26iWApKxE Kqzm86fms9CnILvxrjGuooafKPkAI/vIUKmbMKv2GihBRLJ9vlU5u+jFtgTxwnvZGo6YOB jT1UTXeayyxp5/xPKfS4BvTSm6wlZXxrELfgZzuh3NY/zrb7Zv2pZcfdCbICl3AFQfQaNh SiQmv8wWk8+l8yBw8hYP1DuZ+8c4TuzmbwJD1gdfjJZvwtPjl8FYTeNOvK+U7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628664320; a=rsa-sha256; cv=none; b=NOR/TJXwGmOlGq+ifSlp1iOJmtZpHTzgVM3LEHdVmTCusei93qLvG5bb9ynOi3sVaLqkmo FOKG5mGA4fy7jRIs0HzBjPtNo/tVQyMvTXIB74XOFcHFDlTpal2N4BrW4zxcMFFcKKQSh3 HA/gA4fcKthCTEQd1+1FUHSpqWWXcvvNDBDZ+00HmrdqYR0S7SLoO9LYI00cOKK3BCTetN IndKWZd8RHlSpc3lUgAZuObTLFoL7E0gek20uE9u/kRD8p8w1GFX/lNJHf1GCQEtzyyrcR 1AYEy1wQkoyb3o8RwwAK+V42/jtclmE/J2tEn6+cfxQvkMVVeZ8AuSg/RhIKZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=aqD3u4tE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Migadu-Spam-Score: -0.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=aqD3u4tE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Migadu-Queue-Id: D075B18D02 X-Spam-Score: -0.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9dPNetJQymWM Samuel Wales writes: > i should clarify. bulk archiving slows down even with /nonexistent/ > (have not tried empty) archives. as part of normal and expected > operation, bulk creates the archive for the first entry, and then > subsequent entries are added. those get slower and slower. That's what I suspected. I also see this and my suggestion helped archiving speed in my case. > i use (olpath category itags). i will try (file time) when i can, if > that still applies. my brain needs to be more operational. When you use category, every time you modify the original file (not the archive!), Org mode re-calculates *all* the categories in the original Org file. It happens for every single archived heading. If your original Org file is large, re-calculations make things extremely slow. Best, Ihor