Very bad performance while developing roslyn - small projects work just fine #51211
-
While developing roslyn my Visual studio (16.9.0 Preview 4) is often not responding - is this only the case on my machine? What are your experiences? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Can you follow the instructions here to report performance issues to us: https://github.com/dotnet/roslyn/blob/master/docs/wiki/Reporting-Visual-Studio-crashes-and-performance-issues.md After you report an issue, link to it from here and I can have someone look at it and see if it is known. One thing I do to help with perf is open roslyn.dln and then go make a tea. By the time I'm fine, vs had loaded everything and settled down. |
Beta Was this translation helpful? Give feedback.
-
I also found my VS to be extremely slow when I develop a solution with internal source generator (a project inside the solution as source generator for other projects). My source generator scans every source file and every class, but I guess that's what a source generator should do. I found it useful to clean that source generator project manually after each build. You probably cannot do this if there is an external source generator or analyzer library referenced by dll. |
Beta Was this translation helpful? Give feedback.
-
Full solution code analysis with solution error explorer can slow performance very much on huge solutions. |
Beta Was this translation helpful? Give feedback.
Can you follow the instructions here to report performance issues to us: https://github.com/dotnet/roslyn/blob/master/docs/wiki/Reporting-Visual-Studio-crashes-and-performance-issues.md
After you report an issue, link to it from here and I can have someone look at it and see if it is known.
One thing I do to help with perf is open roslyn.dln and then go make a tea. By the time I'm fine, vs had loaded everything and settled down.