Hi all, 2017/12/23 Sat 1:26:22 UTC+9 David Kotchan wrote: > On Thursday, December 21, 2017 at 2:52:47 PM UTC-8, Ken Takata wrote: > > 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. > > Thank you Ken. (It's fortunate you found a PC system at work to reproduce the > issue, that was lucky. Thanks for investigating.) > > I am pleased to report, that your "optimize-directx" branch in 'vim-jp/vim' > is pretty good on my Win10 Enterprise machine. Nice! You are right, it is not > as fast as 1342. But it is reasonably OK now and I can use it. And as you > say, Ctrl+F/Ctrl+B and Ctrl+U/Ctrl+D are very fast, which is good. > > Thank you for your great work on tracking this down! Interesting to see your > remark about gui_mch_flush(), it is curious how that becomes slow. I guess > you are right, it may be a display driver issue. > > Thanks again for your time and expertise! Great work.
I created a PR for this: https://github.com/vim/vim/pull/2560 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
