emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] "atomic knowledge" modeling tool


From: Samuel Loury
Subject: Re: [O] "atomic knowledge" modeling tool
Date: Mon, 29 Feb 2016 14:31:21 +0100
User-agent: Notmuch/0.19 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu)

Eric S Fraga <address@hidden> writes:

> On Monday, 22 Feb 2016 at 10:04, Samuel Loury wrote:
>
> [...]
>
>> Reproducing a slow behavior is not easy. Today, the agenda is produced
>> in about 10s with almost the same contents. I included the profiler
>> report anyway, hoping that you will find something useful in it.
>>
>> - command-execute                                                3301  91%
>
> [...]
>
>>        - ad-Advice-org-agenda                                    2868  79%
>>         - #<compiled 0x25a8d89>                                  1922  53%
>>          - byte-code                                             1922  53%
>
> out of curiousity, what or how are you advising org-agenda?

I add two advises on top of org-agenda. The first one, executed before,
compute a set of contexts to filter the agenda view. The second,
is executed after and add coloring text-properties to help separating
the available contexts.

> also, the profile information would be most useful without compiled
> code (although obviously slower...).

I will clean the *elc files and send another report. I will also
deactivate the advises not to pollute the results.

-- 
Konubinix
GPG Key    : 7439106A
Fingerprint: 5993 BE7A DA65 E2D9 06CE  5C36 75D2 3CED 7439 106A

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]