StefanKert / BuildVision

A Visual Studio extension to visualize the building process.
MIT License
261 stars 43 forks source link

Performance optimizations #35

Closed TSchmiedlechner closed 7 years ago

TSchmiedlechner commented 7 years ago

Since the project started, many users reported that BuildVision is slowing down their Visual Studio builds, sometimes in an extent it becomes more or less unusable (#7, #8, UserVoice). Our initial analyzes lead us to the conclusion that this mainly affects solutions with many projects.

Performance optimizations are our main goal for the next milestones, therefore, we will summarize the insights we gather during the process in this issue. If you also experience performance limitations related to BuildVision, please feel free to add a note here (with as much details about your solutions and setup as possible, e.g. number of projects, hardware, etc.)!

I will start for a real-life solution, built on an older machine: Solution: 50 projects, ~100k LOC Setup: i5@2,8GHz, 12GB RAM, SSD

BuildVision Plain VS
1 00:01:48.000 00:01:15.000
2 00:01:54.000 00:01:30.000
3 00:01:45.000 00:01:24.000
Avg. 00:01:49.000 00:01:23.000

Obviously, measures like this aren't very representative, because they depend on a variety of factors. nevertheless we hope that this will make it easier to compare possible improvements in the upcoming versions.

We will start by tracing the performance during builds on some of our machines and keep you informed. ;)