Sunday, August 10, 2014

Re: vim-7.4.389 UI extremely sluggish with custom syntax highlighting plugins

David Barnett wrote:

> Yep, it's still slow with "-u NONE -N". It seems to vary quite a bit from
> file to file. The way I reproduce is to just hold down PgDn for a few
> seconds. It's fine for unaffected versions, but stutters for about half a
> second in 362. For some reason most vim files aren't too bad for it.
> src/options.c hangs for about a second for me a few screens down.
>
> Dominique, for some reason the problematic match doesn't even show up in
> ":syntime report". Looks like a useful troubleshooting tool in general,
> though.
>
> David

Hi David

I can now reproduce the slow rendering you
describe with:

$ cd vim/src
$ vim -u NONE option.c \
-c 'syntax on' +471 \
-c "hi def link RightMargin Error|exec ('match RightMargin /\%<42v.\%>41v/')"

Then I press CTRL-F and CTRL-B to scroll forward
and backward by page around line 471. Rendering
is slow with vim-7.4.400. Rendering is much faster
with vim-7.4. When I find time, I'll compare profiling
results before & after vim-7.4.389 (allegedly the patch
that introduces the slow down).

Regards
Dominique

PS: please bottom post in this mailing list.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: