Replies: 4 comments 1 reply
-
I guess I am not the only one with this issue, I just read the other posts about the latency on windows. Sorry for duplicating. |
Beta Was this translation helpful? Give feedback.
-
Unforuntaely I'm not sure what I can do about this, Windows has a very inefficient way of managing processes (compared to Unix based OS's) and there's not much I can do about this, The benefit of using an external process is disconnect from neovim's main thread which results in lag free and great performance when searching / fuzzy matching but that does come at a cost on Windows. Some users reported significant improvement after excluding the neovim/fzf/rg/fd in Windows defender, you can try that. Other than that my only advice would be to use WSL which IMHO works super fast as if it was Linux. |
Beta Was this translation helpful? Give feedback.
-
A little more specific:
My notes regarding windows process spawn apply
For a previe to trigger, fzf needs to call an fzf lua neovim headless wrapper with some data (callback function ID + the items), again this involves a process spawn, same issue.
Perhaps related to process termination? I can't really tell my Windows VPS was a "donation" and was very slow, I couldn't never attempt to optimize it due to how painfully slow it was, I couldn't tell wether it was the very low-end spec VPS or another issue, all I could observe was that
Try to exclude all these binaries from Windows defender, should help I hope. |
Beta Was this translation helpful? Give feedback.
-
Binaries and nvim folders are excluded already. Thanks for the detail! I guess windows will just be windows. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I didn't want to post an issue as this might be specific to windows and not exactly a bug. I am testing fzf-lua today with a very simple config (mini.deps as plugin manager, treesitter, basic lspconfig, conform). I've used telescope before and most recently mini.pick before and they are both fairly fast, but it seems that fzf-lua is "sluggish" in comparison.
Setup:
fast workstation i9-11900k w/ nvme drive
fzf can index my home directory in just a few seconds (~1.2 million files)
windows 11
neovim 0.10.2
fzf 0.57.0
fd/rg/bat available path
I am testing this in a very small directory, basically my %LOCALAPPDATA%\nvim directory. Only a handful of files present.
All relevant folders (scoop/, nvim/, nvim-data/) are excluded from windows defender.
Description
By sluggish that I mean I've observed the following things, mostly UI related, not search related:
@ibhagwan what else should I try to increase performance on windows? Is there anything else I may have missed? I'd love to use this plugin as I use fzf on the cli with powershell all the time and it's very fast, but it seems that inside neovim it's sluggish in comparison.
Beta Was this translation helpful? Give feedback.
All reactions