Hi,

2017/12/20 Wed 3:24:50 UTC+9 David Kotchan wrote:
> On Thursday, December 14, 2017 at 11:51:45 PM UTC-8, Ken Takata wrote:
> 
> > 
> > Maybe we should check step by step.
> > 
> > At first, I'd like to confirm again that the patch 1369 is actually the
> > cause of the slowdown.
> > Could you checkout 'v8.0.1368' and check if the slowdown doesn't occur?
> > 
> 
> Ken, you are right, and once again I have been stupid/sloppy. My Win10 
> Enterprise Vim was actually much older than 1366: it was patch 1206. I am not 
> sure how I got "1366" stuck in my head (probably confusion with the Vim 
> version I use at home on Win10 Professional).
> 
> OK. So now, I have done a detailed bisect of exactly which patch started 
> causing the issue. It is: patch 1343 "MS-Windows: does not show colored 
> emojis". Patch 1342 is quite fast, as usual. Patch 1343 is where Vim becomes 
> slow.
> 
> Sorry for the misleading information from earlier :-( Hopefully, the firm 
> knowledge that the problem started occurring at patch 1343 (commit 
> d7ccc4d81dbcfa3ac0352bacea6e294fc9e33fda) will shed some light on the matter.

Ah, okay.  One of my desktop PC at work also becomes slow after 8.0.1343,
when executing such as `:ver`, `:dig`, `:hi` and some other commands. (However,
scrolling a text by keep pressing Ctrl-F or Ctrl-B becomes faster on that
machine.)
I found that gui_mch_flush() was very slow on that machine.  It took more than
3 ms on it, however it took about 1 ms on another note PC.  So, the desktop PC
is 3x slower.  Moreover, when the window size of Vim becomes larger, it becomes
slower.  I think the most important thing for improving the performance is
reducing the call of gui_mch_flush().

I have updated the 'optimize-directx' branch in the 'vim-jp/vim' repository.
It becomes slightly faster than the latest patch (8.0.1418), but it is still
slower than 8.0.1342 on the desktop PC.  (The branch is much faster than 1342
on other PCs.)  I think it is very hard to make it faster than this.
It might be an issue of the display driver.

Regards,
Ken Takata

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui