-
Notifications
You must be signed in to change notification settings - Fork 391
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
Lots of UI delays inside Visual Studio when using the project system #2297
Comments
@srivatsn This has got worse in today's build, I'm hitting blocks all the time - trying to grab a trace of it... |
Then, it would be easy to capture a trace.
…Sent from my phone
On May 29, 2017, at 7:40 PM, David Kean <notifications@github.com<mailto:notifications@github.com>> wrote:
@srivatsn<https://github.com/srivatsn> This has got worse, I'm hitting blocks all the time - trying to grab a trace of it...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#2297 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ALGWwuat7FxWaM-qisvPMDA1RFjZ2XlZks5r-4GMgaJpZM4NnCmt>.
|
#2 was introduced in 15.3 - hence why it feels like it's got worse in recent builds. |
A great example of this is: https://github.com/aarnott/pinvoke. This project is unusable for minutes after it's opened. |
I filed #2383 to represent the pinvoke. Looks like that is dependency node population. |
#2383 has somewhat a different reason. The code ran into a scalability problem inside JTF library in the Semaphore related JTF code. |
@davidfowl @CyrusNajmabadi @Pilchie @sharwell Can you do the following to see if performance of the project system is much better for you until we resolve this:
<Project>
<ItemGroup>
<ProjectCapability Remove="DependenciesTree"/>
</ItemGroup>
</Project>
This will turn off the Dependencies node. |
We now have PRs out for all known issues, with exception to the GC delays. |
@davkean really nice to hear that. really want to try the product once your fixes are in. |
@lifengl @sharwell @Pilchie @davidfowl @danroth27 @CyrusNajmabadi There are still three issues that I'm tracking for 15.3 that is affecting general responsiveness of the project system for certain types of projects:
I'm going to close this bug in lieu of those specific issues. |
Disabling the Dependencies node due to performance issues. This is tracked by by the umbrella issue 2297 in project-system dotnet/project-system#2297
Disabling the Dependencies node due to performance issues. This is tracked by by the umbrella issue 2297 in project-system dotnet/project-system#2297
To update the the thread, next week's build should have resolved all known performance regressions. There's still a lot wins to be gained (looks like the new dependency node does a lot more than the previous one) so we'll keep on plowing away on those, please file them as individual issues. |
@davkean Were these fixes included in the latest preview (July 12)? I've recently converted a large solution (99 projects) to the new project system, and I'm seeing a very degraded experience (in 15.2): the solution loads much slower, and so is opening C# files and building. In the latest preview there seems to be some improvement but I haven't really measured it so I can't be sure. I can take memory dumps or collect PerfView data if you like. |
Most of them made into that build - there's still a few that will come in the next build. Are you saying that 15.3 is better than 15.2? Or are you saying that it's just as bad? Can you file a bug? Traces would be great, even better would be if you could share the source (privately). Can you also "Report a Problem" and put "davkean" in the description - doesn't have to say anything, just lets me see your VS sessions, solution load times, UI delays, etc and figure out what's going on. |
Yes, 15.3 seems better, but still slower than the previous project system. I'll send a report right now. Should I do it after the solution is open? |
It doesn't matter when you send the report - it just lets me grab your user data and look at past sessions. Please make sure you open a new bug - so that we're tracking this and we can use to discuss. |
We're seeing lots of UI delays, more than usual when using the project system, I've seen UI delays when:
I suspect there's two underlying issues based on the data that I've quickly looked over:
Please look at mine, @davidfowl and @danroth27 delays when investigating this.
We do not yet have any traces of these delays.We've identified the following issues:
DependenciesProjectTreeProvider.GetRule
due to a JoinableTaskFactory.Run call (PR: Remove JoinableTaskFactory.Run usage in GetRule #2392)The text was updated successfully, but these errors were encountered: