[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: |
Tue, 15 Oct 2019 09:48:05 +0300 |
> From: João Távora <address@hidden>
> Date: Tue, 15 Oct 2019 00:29:51 +0100
> Cc: emacs-devel <address@hidden>, Stefan Monnier <address@hidden>
>
> So I tried this with and without the hook. I removed it (forcibly) with
>
> (remove-hook 'post-command-hook
> 'jit-lock--antiblink-post-command t)
> and re-added it with
>
> (add-hook 'post-command-hook
> 'jit-lock--antiblink-post-command nil t)
>
> before beginning the test.
>
> I confirmed that without the hook the feature is crippled and fails, and
> with the hook it works fine. This was easier then launching separate
> emacsen with jit-lock-antiblink-grace customized differently.
>
> 60 second-long C-n in src/xdisp.c,
> without antiblink: line 706, avg load 4%
> with antiblink: line 717, avg load 4%
> 30 second-long C-n in lisp/minibuffer.el,
> with antiblink: line 366, avg load 4%
> without antiblink: line 361, avg load 4%
>
> Time to end of buffer with C-v in lisp/minibuffer.el:
> with antiblink: 10 seconds, avg load 6%
> without antiblink: 10 seconds, avg load 6%
>
> Time to end of buffer with C-v in src/xdisp.c:
> without antiblink: 90 seconds, avg load 8%
> with antiblink: 91 seconds, avg load 8%
This is encouraging, but please try C-n near the end of xdisp.c, so
that it includes syms_of_xdisp. The first 350 lines of xdisp.c is one
large comment, and there's a very small number of strings after that.
Thanks.
- 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, 2019/10/13
- Re: jit-lock-antiblink-grace, João Távora, 2019/10/14
- Re: jit-lock-antiblink-grace,
Eli Zaretskii <=
- 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