-
Notifications
You must be signed in to change notification settings - Fork 672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.26.2 hanging on link completion #1410
Comments
Thanks for reporting this, can you confirm that it doesn't happen in the previous version? |
I've been seeing the same slowness since the last release (0.26.2) across multiple computers running Windows 11. |
@mburleigh thanks for reporting - same request, can you please give us more detail? What is slow? Do you have a reproducible example? |
I'm seeing the same behavior as the OP. Typing in a note and hit "[[" to insert a wikilink and the input just hangs before the search text even renders.. Previously the would be used as a search string against the notes in my vault with very little delay and I could choose the note to link from the intellisense. I just timed it and it took 9 seconds for the intellisense to appear. |
Some questions:
|
6633 files in 388 folders |
tonight I'll clone the repo and see what I can see debugging |
BTW, if I revert to the previous release the problem goes away. |
Yes. There is something off in the change I made. However, with the current information I can't understand what the problem is. Especially as I can't reproduce the problem. So, we need a lot of info to research |
The TrieMap is variable time based on size for lookup vs hashmap which should be fixed, so probably related to size of knowledge base? |
@dstengle well. I think it happens in some circumstances. In your case, how large is your collection of notes. Especially, curious to the amount of folders you have. I am suspecting this might be an issue... |
I have ~2500 notes spread across ~600 directories (1 per day). |
I'm having the same problem described above. System:
Problem:
|
Just noticed one of my directories is a little deeper than the others: it's a small research git repo with some python files. No more than 30-ish subdirectories throughout at a max depth of around 6-7. Contains a few PDFs as well. |
I've located the source of the problems. (cc @riccardoferretti) In Will work on finding a solution for this. |
Cartesian product strikes again! Thanks for proving we're not crazy @pderaaij ! |
Sorry about the regression. It was definitely an unexpected side-event. Although it helped me find a more general performance issue which I couldn't find up to now. |
Tricky kind of bug to test for. Says a lot how quickly you were able to track down the root cause though - thanks! |
Describe the bug
My keyboard input hangs badly inside wikilinks and suggestions take forever to show up if they ever do.
Small Reproducible Example
No response
Steps to Reproduce the Bug or Issue
Start a wikilink by typing [[ and keyboard input hangs.
Expected behavior
Keyboard input with link suggestions without delays.
Screenshots or Videos
No response
Operating System Version
Ubuntu 24.04
Visual Studio Code Version
1.95.2
Additional context
No response
The text was updated successfully, but these errors were encountered: