[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to make agenda generation faster
From: |
Samuel Wales |
Subject: |
Re: [O] How to make agenda generation faster |
Date: |
Thu, 11 Oct 2018 12:59:13 -0700 |
i too visit all files when emacs starts.
are we saying that the speed depends on the number of headlines total
or the number of headlines in a single file among the agenda files?
On 10/11/18, Marcin Borkowski <address@hidden> wrote:
>
> On 2018-10-11, at 08:48, Michael Welle <address@hidden> wrote:
>
>> Hello,
>>
>> Marcin Borkowski <address@hidden> writes:
>>
>>> On 2018-10-08, at 09:20, Michael Welle <address@hidden> wrote:
>> [...]
>>>> Well, on my laptop the initial agenda run takes about 7s or so (150
>>>> agenda files) using the current day/week agenda ("a"). All subsequent
>>>> (after loading the files) agenda runs are fast (split second I would
>>>> say). I had some performance issues in the past caused by SCM. Emacs
>>>> tried to check if every file is checked out in the latest version. That
>>>> slowed down the process a lot (starting 150 mercurial processes in
>>>> sequential order, checking results, etc.). The initial run doesn't
>>>> bother me much. I bound the initial agenda run to an idle timer at
>>>> Emacs
>>>> start.
>>>
>>> Interesting. I did not notice such differences between the first and
>>> subsequent runs.
>> I thought that behaviour is natural, scanning dirs for files and opening
>> them is a costly operation. But a week ago I changed from rotating rust
>> to solid state disks and that behaviour did not change much. I expected
>> a speed up, but mee.
>
> Ah, I have /visiting/ all my agenda files (but not generating the agenda
> itself) in my init.el.
>
> That explains a lot.
>
> Best,
>
> --
> Marcin Borkowski
> http://mbork.pl
>
>
--
The Kafka Pandemic: <http://thekafkapandemic.blogspot.com>
The disease DOES progress. MANY people have died from it. And ANYBODY
can get it at any time.
"You’ve really gotta quit this and get moving, because this is murder
by neglect." ---
<http://www.meaction.net/2017/02/03/pwme-people-with-me-are-being-murdered-by-neglect>.
Re: [O] How to make agenda generation faster, Adam Porter, 2018/10/09
- Re: [O] How to make agenda generation faster, Nicolas Goaziou, 2018/10/09
- Re: [O] How to make agenda generation faster, Marcin Borkowski, 2018/10/10
- Re: [O] How to make agenda generation faster, Adam Porter, 2018/10/16
- Re: [O] How to make agenda generation faster, Ihor Radchenko, 2018/10/17
- Re: [O] How to make agenda generation faster, Nicolas Goaziou, 2018/10/17
- Re: [O] How to make agenda generation faster, Adam Porter, 2018/10/17
- Re: [O] How to make agenda generation faster, Nicolas Goaziou, 2018/10/18
- Re: [O] How to make agenda generation faster, stardiviner, 2018/10/18