Comments (24)
I also faced this issue. Initially I tried looking for ways to "Enable file structure caching" but couldnt' find it anywhere.
I ended up going back to Visual Studio 2019 because the faster (Alt+U) speeds were more useful to me compared to the new VS 2022 features.
Wow, that's pretty drastic. :)
Let me take a look to see if it'd possible to move that to VS 2022 version. Not sure how quickly I'll be able to get to that though.
from dpack.
Took a look at old source code and found what I was looking for. Doesn't look too complicated to port it to the new version. I'll just need to find some time to get to it.
from dpack.
Total # of file in the solution and their language are the biggest variables. Once you get to 190 projects the # of projects themselves plays into that as well. Performance you describe in the latest version seems to be adequate enough w/o comparing it to the old version.
Converting from WinForms to WPF in DPack Rx does have a price to pay. Question would be whether it takes place during the solution processing/collection or later binding a large result set to WPF view. I'd suggest turning DPack Rx logging on, which can be found on Tools|Options -> DPack Rx General page. AppData\Local\DPack Rx is the location of log file. Collect the logs exercising File Browser and post it here. Thanks.
from dpack.
I also faced this issue. Initially I tried looking for ways to "Enable file structure caching" but couldnt' find it anywhere.
I ended up going back to Visual Studio 2019 because the faster (Alt+U) speeds were more useful to me compared to the new VS 2022 features.
from dpack.
Wow, that's pretty drastic. :)
Let me take a look to see if it'd possible to move that to VS 2022 version. Not sure how quickly I'll be able to get to that though.
Yeah DPack's Alt+U feature has saved me countless hours over the last decade or so. Would absoluately amazing if this feature can be ported to VS2022's version. Honestly happy to donate in any way or form.
from dpack.
Yeah DPack's Alt+U feature has saved me countless hours over the last decade or so. Would absoluately amazing if this feature can be ported to VS2022's version.
Out of curiosity, what's your solution make up like? Meaning, projects language, number of projects, target framework and total number of files? Thanks.
from dpack.
Yeah DPack's Alt+U feature has saved me countless hours over the last decade or so. Would absoluately amazing if this feature can be ported to VS2022's version.
Out of curiosity, what's your solution make up like? Meaning, projects language, number of projects, target framework and total number of files? Thanks.
We target .net framework 48 using c# , have about 12 projects and the file breakdown with the following.
Name Count
---- -----
.cs 2210
.cshtml 1665
.js 1057
.PNG 661
.jsx 263
.datasource 225
.scss 194
.css 167
.dll 123
.svg 104
.config 102
.less 98
.xml 93
.json 66
.html 54
.map 44
.gif 30
.csproj 29
.ttf 23
.txt 21
.sitemap 21
.woff 19
.ps1 15
.eot 15
.xsd 15
.woff2 12
.md 12
.otf 9
.ico 8
.pubxml 8
.svcinfo 6
.webmanifest 4
from dpack.
In my day job we have a few solutions, with the largest one being roughly 70 projects. All .NET 4.8 (unfortunately) as well. It packs slightly more code files than your test case, and large set of Xaml files. Yes, there is a slight delay opening it up but the total time is under 1 second, otherwise it would've shown the progress dialog.
So having said that, I wonder what makes your solution so different from my test case. What kind of performance were you getting on VS 2022 out of it?
from dpack.
In my day job we have a few solutions, with the largest one being roughly 70 projects. All .NET 4.8 (unfortunately) as well. It packs slightly more code files than your test case, and large set of Xaml files. Yes, there is a slight delay opening it up but the total time is under 1 second, otherwise it would've shown the progress dialog.
So having said that, I wonder what makes your solution so different from my test case. What kind of performance were you getting on VS 2022 out of it?
I'll have to double check again when i'm on my work from office laptop during my office days, I'll report back in a few days ;)
from dpack.
In my day job we have a few solutions, with the largest one being roughly 70 projects. All .NET 4.8 (unfortunately) as well. It packs slightly more code files than your test case, and large set of Xaml files. Yes, there is a slight delay opening it up but the total time is under 1 second, otherwise it would've shown the progress dialog.
So having said that, I wonder what makes your solution so different from my test case. What kind of performance were you getting on VS 2022 out of it?
On my older laptop (circa 2018) it took about 2-2.5 seconds, on my beefier desktop it was under 1 second (but still noticable compared to VS2019 performance)
from dpack.
Guys, could you try the new beta posted in issue #54 ? It contains a different patch than what I'd originally planned here. It does prevent duplicate projects processing, which undoubtedly had contributed to this issue. Thanks.
from dpack.
I don't have large projects, so haven't really noticed this, but I'm just curious. Is the slowdown mentioned here due to the enumeration of the files, or the WPF overhead in populating the observable collections?
from dpack.
Yeah, large part of that doubling of processing time in some cases. WPF conversion did carry perf penalty. There is another piece I started on but haven't gotten to completing is resurrecting File Browser project caching.
from dpack.
I see references to VirtualizingStackPanel in the ListView attributes, but I don't see a VirtualizingStackPanel anywhere. Is this correct?
from dpack.
It's created behind the scenes based on a couple of properties: VirtualizingStackPanel.IsVirtualizing and VirtualizingStackPanel.VirtualizationMode
from dpack.
Anybody interested in giving test version to try? Thanks.
from dpack.
Anybody interested in giving test version to try? Thanks.
Sure, I'll test. Where do I find it?
from dpack.
Will post it this weekend. Thanks.
from dpack.
Here you go:
from dpack.
Related Issues (20)
- Beta period is expired. HOT 4
- Home button does not work in search textbox HOT 3
- Solution Backup feature HOT 1
- Cannot find sql files HOT 12
- Can't assign bookmarks when using a CMake project HOT 6
- Can't donate HOT 2
- Bookmarks are not restored when the project is reopened HOT 3
- File browser not showing files in "solution items" folder HOT 15
- "Surround with" doesn't work when there are custom Snippets defined HOT 26
- Where are the logs being saved when setting "Enable logging"? HOT 1
- Alt+U does not work when using with VS2022 HOT 10
- Please support ARM64 extensions HOT 3
- Using VS2019 & VS2022 in parallel will result in deregistration of keyboard binding for the currently not used VS version HOT 1
- Add dpack actions in vsvim dotfiles
- v4.5.3 does not work with Visual Studio 2022 HOT 4
- File Browser results in double HOT 31
- Function list is empty in Code Browser - Methods HOT 3
- The DPack dialog can not pop up in VS 2022 HOT 2
- App.config files don't open HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dpack.