Hi Bram, On Mon, Sep 28, 2020 at 12:42 PM Bram Moolenaar <[email protected]> wrote:
> > Yegappan wrote: > > > On Sun, Sep 27, 2020 at 11:16 AM markonm <[email protected]> > wrote: > > > > > *Describe the bug* > > > Interaction with quickfix window and quickfix list after patch 8.0.1781 > > > < > https://github.com/vim/vim/commit/a796d46f29e3cc235cc981696d7ee80faccb5000 > > > > > suffered slowdown on Windows. > > > > > > *To Reproduce* > > > > > > " measureQuickFix.vim > > > let filename = tempname() > > > silent execute 'w' filename > > > let lines = map(repeat([filename], 10000), '{"filename": v:val}') > > > > > > let start = reltime() > > > call setqflist(lines) > > > echom ' setqflist:' reltimestr(reltime(start)) > > > > > > let start = reltime() > > > silent copen > > > echom ' copen: ' reltimestr(reltime(start)) > > > > > > let start = reltime() > > > call setqflist(lines) > > > echom ' setqflist:' reltimestr(reltime(start)) > > > > > > Run: gvim --clean -S measureQuickFix.vim > > > > > > Output of above script: > > > > > > v8.0.1780: > > > > > > setqflist: 0.009004 > > > copen: 0.009129 > > > setqflist: 0.020638 > > > > > > v8.0.1781 > > > > > > setqflist: 0.009413 > > > copen: 3.745755 > > > setqflist: 3.794615 > > > > > > :copen and setqflist are much slower with 8.0.1781 included. Results > are > > > the same on the current master. > > > > > > *Expected behavior* > > > Interaction with quickfix is fast as it was before patch 8.0.1781 was > > > included. > > > > > > *Environment (please complete the following information):* > > > > > > - OS: Windows 10 2004 > > > > Can you try the attached patch? > > Since it's reported to be a nice improvement, can you make a pull > request for this? > > > I have created PR #7039 for this. https://github.com/vim/vim/pull/7039 Regards, Yegappan -- -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAAW7x7m0%3DMvo7HKAUAg0h5DQxgnQ5jOW70TdgQZVdEmc5_U8qA%40mail.gmail.com.
