You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open a large-ish file that has a reoccurring string that you can search for and then bookmark. I ran into this with a file that has 24 hits (the first on line 12 and the last on line 90200) in 90300 lines. The file is 5.5 MB.
Find the string and bookmark the line.
Add a bookmark. Make the BOOKMARKS EXPLORER visible.
Repeat 2.
After adding a bookmark, the Bookmarks Explorer does not update for several seconds. Navigating to a bookmark from the Bookmarks Explorer takes 3 to 5 seconds.
Using Bookmarks: List is usually much faster.
Also, because a search for the string I'm bookmarking immediately comes up with the number of hits (the "x of y" next to the search string), I'm convinced the problem isn't with VS Code or the size of the file.
The text was updated successfully, but these errors were encountered:
I have worked in the past with a few large files, but not that large, withing folders with thousands of files, but didn't notice any performace issue. I'll try to reproduce this scenario, in oder to replicate the issue, and find out the reason behind this performance issue.
About the comparation with Bookmarks: List commad, it will always be faster, compared with the Side Bar. Simply because the Side Bar displays the bookmarks from the entire folder, and the Bookmarks: List command does for the active file. A better comparation would be with the Bookmarks: List from All Files command instead.
Environment/version
Commit: 863d2581ecda6849923a2118d93a088b0745d9d6
Date: 2024-03-08T15:20:17.278Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Windows_NT x64 10.0.19045
Steps to reproduce
After adding a bookmark, the Bookmarks Explorer does not update for several seconds. Navigating to a bookmark from the Bookmarks Explorer takes 3 to 5 seconds.
Using
Bookmarks: List
is usually much faster.Also, because a search for the string I'm bookmarking immediately comes up with the number of hits (the "x of y" next to the search string), I'm convinced the problem isn't with VS Code or the size of the file.
The text was updated successfully, but these errors were encountered: