[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jit-lock-antiblink-grace
From: |
Eli Zaretskii |
Subject: |
Re: jit-lock-antiblink-grace |
Date: |
Sun, 13 Oct 2019 13:45:43 +0300 |
> From: João Távora <address@hidden>
> Date: Sun, 13 Oct 2019 11:28:39 +0100
> Cc: emacs-devel <address@hidden>, Stefan Monnier <address@hidden>
>
> Speaking of benchmarks, what is the correct way to benchmark this,
> i.e. to simulate "paging down a file". Is it just sth like
>
> (while t (call-interactively 'next-line))
>
> ? Or should I add a `redisplay` or something else there?
For timing the effect of post-command-hook, you need to actually
invoke many commands. I suggest to lean on the DOWN arrow for a fixed
amount of time, say, 30 sec, and see how far into the file did you go,
and what was the average CPU load (e.g, as shown by display-time-mode
or by 'top').
- Re: jit-lock-antiblink-grace, (continued)
- Re: jit-lock-antiblink-grace, Alan Mackenzie, 2019/10/12
- Re: jit-lock-antiblink-grace, João Távora, 2019/10/12
- Re: jit-lock-antiblink-grace, Eli Zaretskii, 2019/10/12
- Re: jit-lock-antiblink-grace, João Távora, 2019/10/12
- Re: jit-lock-antiblink-grace, Eli Zaretskii, 2019/10/13
- Re: jit-lock-antiblink-grace, João Távora, 2019/10/13
- Re: jit-lock-antiblink-grace, Eli Zaretskii, 2019/10/13
- Re: jit-lock-antiblink-grace, João Távora, 2019/10/13
- Re: jit-lock-antiblink-grace,
Eli Zaretskii <=
- Re: jit-lock-antiblink-grace, João Távora, 2019/10/14
- Re: jit-lock-antiblink-grace, Eli Zaretskii, 2019/10/15
- Re: jit-lock-antiblink-grace, João Távora, 2019/10/15
- Re: jit-lock-antiblink-grace, Alan Mackenzie, 2019/10/12
- Re: jit-lock-antiblink-grace, João Távora, 2019/10/12
- Re: jit-lock-antiblink-grace, Alan Mackenzie, 2019/10/13
- Re: jit-lock-antiblink-grace, João Távora, 2019/10/13
Re: jit-lock-antiblink-grace, Alan Mackenzie, 2019/10/13