Closed nuc134r closed 5 years ago
Thanks for the report. Can you confirm the extension version number? Do you have other extensions installed? What is the pattern string that is used when it is slow?
Version 4.2.2 and it says it was installed 18.03.2019 (it was installed much earlier so probably it was autoupdated that day). CPU is normal, maybe I was checking it right after VS restart and it was initializing so it's probably not an issue.
Document (no solution) open: [documentName] - [ideName] No document or solution open: [ideName] Solution in break mode: [[hgBranchName]] [solutionName] (Debugging) - [ideName] Solution in design mode: [[hgBranchName]] [solutionName] - [ideName] Solution in running mode: [[hgBranchName]] [solutionName] (Running) - [ideName]
Here is full info from About window:
Microsoft Visual Studio Professional 2017 (2)
Version 15.9.9
VisualStudio.15.Release/15.9.9+28307.518
Microsoft .NET Framework
Version 4.7.03190
Installed Version: Professional
Visual C++ 2017 00370-20007-36766-AA431
Microsoft Visual C++ 2017
ASP.NET and Web Tools 2017 15.9.04012.0
ASP.NET and Web Tools 2017
ASP.NET Core Razor Language Services 15.8.31590
Provides languages services for ASP.NET Core Razor.
ASP.NET Web Frameworks and Tools 2017 5.2.60913.0
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 15.9.03024.0
Azure App Service Tools v3.0.0
C# Tools 2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
ClipboardDiff 1.0
ClipboardDiff
Diffs the selected text against the contents of the clipboard.
http://einaregilsson.com/clipboarddiff-visual-studio-extension/
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Customize Visual Studio Window Title 4.0
This lightweight extension allows changing the window title of Visual Studio to include a folder tree with a configurable min depth and max depth distance from the solution/project file, and the use of special tags to help with many other possible scenarios (Git, Hg, TFS, SVN...).
Solution-specific overriding rules are available as well to cover virtually any possible renaming needs. It can also be configured so that the rules apply only when at least two instances of Visual Studio are running with the same window title.
This is particularly useful when branching a solution/project: it becomes possible to easily identify which branch you are working on, in case both would have the same solution/project name.
JavaScript Language Service 2.0
JavaScript Language Service
JetBrains ReSharper Ultimate 2018.3.4 Build 183.0.20190304.43214
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2019 JetBrains, Inc.
Microsoft Continuous Delivery Tools for Visual Studio 0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager 1.0
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers 1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
NuGet Package Manager 4.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
ResourcePackage Extension 1.0
ResourcePackage Visual Studio Extension Detailed Info
ResourcePackage Extension 1.0
ResourcePackage Visual Studio Extension Detailed Info
SQL Server Data Tools 15.1.61903.01040
Microsoft SQL Server Data Tools
Test Adapter for Boost.Test 1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test. The use terms and Third Party Notices are available in the extension installation directory.
Test Adapter for Google Test 1.0
Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.
TypeScript Tools 15.9.20918.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for Containers 1.0
Visual Studio Tools for Containers
I experimented a bit and it looks like VS becomes slow only when hgBranchName
appears in title bar.
Thank you so much for these details. Can you try updating to v. 4.2.3 and tell me if it is better? I have moved most of the code to a background thread instead of the UI thread (which was the case before the recent update, so I believe this must be the reason for what you've experienced).
On v. 4.2.3 including Mercurial branch name in title doesn't seem to impact performance anymore. Thank you for quick response and fix!
Awesome, thanks for your help through this and happy to hear that this has solved the issue!
Seems like it happened after recent automatic updates.
On quite large project scrolling started to lag a bit and switching between open tabs lasted like eternity (500 ms maybe). Also VS was eating 30-40% CPU in idle. After disabling vs-customize-window-title performance was back to normal.
I was using stock settings with Mercurial branch name added before everything.