Thursday, September 8, 2022

Re: Gvim taking a minute or more to start

On 2022-09-08 11:30, Gary Johnson wrote:
> I suspect that whatever is causing that 5-second startup time is
> contributing to the read times of every file that gvim opens.
> So, while 5 seconds is better than 30, solving that 5-second issue
> may solve the rest.
>
> Unfortunately, I don't anything about diagnosing issues with Windows
> or security programs.

While my Windows experience is similarly limited, the symptoms sound
suspiciously like either anti-virus software or a virus intervening
on every file-system read to see if the file is infected/valuable.

I'd be curious if apps take a similar amount of "bonus" time to
load. If you (OP) have Python installed on the machine, it would
be interesting to run the python interpreter and issue

C:\> python -q
>>> import os
>>> f = open(os.path.expanduser("~/_vimrc"))
>>> f.close()

Entering that `open()` call should take negligible time, the blink
of an eye. If that takes any noticeable amount of time, something
outside vim is intercepting all your (OP's) file-reads at an
atrocious cost.

-tim




--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/Yxo2t6ZgzpiSitqb%40thechases.com.

No comments: