all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
To: Bruno Cardoso <cardoso.bc@gmail.com>
Cc: Ihor Radchenko <yantar92@posteo.net>,
	Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Emacs slow-down
Date: Thu, 7 Mar 2024 17:03:13 +0100	[thread overview]
Message-ID: <CAO48Bk-PeobhZB+nRMw8d505A1zp8taPQ9xoCcdygo3nJQQBXA@mail.gmail.com> (raw)
In-Reply-To: <CAO48Bk_jFOEuA3K5Onq7C-vb6ZjgojN1ByO1NPD=E8ozabwB7g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2186 bytes --]

Hi,

my profiling when deleting a line from a table:

         650  43% + redisplay_internal (C function)
         521  35% - command-execute
         470  31%  - byte-code
         470  31%   - read-extended-command
         470  31%    - read-extended-command-1
         470  31%     - completing-read-default
         443  29%      + redisplay_internal (C function)
          11   0%      - timer-event-handler
          11   0%       - apply
           7   0%        + jinx--timer-handler
           4   0%        + org-element--cache-sync
          51   3%  - funcall-interactively
          34   2%   + org-kill-line
          17   1%   + next-line
         200  13%   Automatic GC
          57   3% + ...
          57   3% + timer-event-handler

Interestingly enough, this redisplay_internal function seems to be the real
pain. I think we need to switch to the main
emacs devel list here...

Best, /PA

On Thu, 7 Mar 2024 at 16:50, Pedro Andres Aranda Gutierrez <
paaguti@gmail.com> wrote:

> Hi Ihor,
>
> same here and changing to text-properties didn't help making editing org
> files less bumpy and slow.
> I don't know if 886 lines is really very much... but that's my org-beamer
> size for a double lecture.
>
> Best, /PA
>
> On Thu, 7 Mar 2024 at 15:58, Bruno Cardoso <cardoso.bc@gmail.com> wrote:
>
>>
>> On 2024-03-07, 13:23 +0000, Ihor Radchenko <yantar92@posteo.net> wrote:
>>
>> > This is strange. `org-fold-core--property-symbol-get-create' should be
>> > very fast normally.
>> >
>> > A blind guess: do you have `org-fold-core-style' set to
>> 'text-properties?
>> >
>>
>> Hi Ihor,
>>
>> No, `org-fold-core-style' is set to 'overlays.
>>
>>
>
> --
> Fragen sind nicht da, um beantwortet zu werden,
> Fragen sind da um gestellt zu werden
> Georg Kreisler
>
> Headaches with a Juju log:
> unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
> a leader-deposed hook here, but we can't yet
>
>

-- 
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet

[-- Attachment #2: Type: text/html, Size: 3702 bytes --]

  reply	other threads:[~2024-03-07 16:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-07  7:23 Emacs slow-down Pedro Andres Aranda Gutierrez
2024-03-07  9:48 ` Bruno Cardoso
2024-03-07 13:23   ` Ihor Radchenko
2024-03-07 14:58     ` Bruno Cardoso
2024-03-07 15:50       ` Pedro Andres Aranda Gutierrez
2024-03-07 16:03         ` Pedro Andres Aranda Gutierrez [this message]
2024-03-07 16:11           ` Ihor Radchenko
2024-03-07 16:21           ` William Denton
2024-03-08  6:54             ` Pedro Andres Aranda Gutierrez
2024-03-08 11:41               ` Fraga, Eric
2024-03-07 16:10         ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAO48Bk-PeobhZB+nRMw8d505A1zp8taPQ9xoCcdygo3nJQQBXA@mail.gmail.com \
    --to=paaguti@gmail.com \
    --cc=cardoso.bc@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.