VS2010加载缓慢.我可以配置扩展的相应启动时间吗? [英] VS2010 loads slowly. Can I profile extensions' respective startup time?

查看:153
本文介绍了VS2010加载缓慢.我可以配置扩展的相应启动时间吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个简单的问题.是否有可能以某种方式获取启动VS2010时花费那么多时间加载的日志?在默认安装中,启动IDE的速度非常快(约1-2秒),但是安装了一批扩展程序后,IDE启动所花费的时间却无法使用它仅查看文件"

I have a simple question. Is it possible to somehow get a log of what is taking so much time to load when starting VS2010? On a default install, starting the IDE is very quick (~1-2 s), but with a batch of extensions installed, the time taken for the IDE to launch is prohibitive of using it to "just have a peek at a file".

我知道我可以一个一个地启用和禁用扩展名",但是我正在寻找一种更好的方法来给我数字,而不是感觉".

I know I can "enable and disable extensions one by one", but I'm looking for a better way that gives me numbers, not 'feelings'.

希望外面有人知道这样做的好方法.

Hope someone out there knows a good way to do this.

后续问题:我可以有选择地禁用程序包加载到VS2010中?

推荐答案

您可以按以下详细说明使用devenv /log:

You can use devenv /log as detailed here: MSDN Blogs: Troubleshooting Extensions with the Activity Log.

  1. 运行devenv /log
  2. 再次关闭IDE,以关闭日志 Win + R
  3. 运行%APPDATA%\Microsoft\VisualStudio\10.0\ActivityLog.xsl
  4. 等待它加载到Visual Studio中
  5. 在网络浏览器中打开%APPDATA%\Microsoft\VisualStudio\10.0\ActivityLog.xml,它将很好地格式化自己.
  1. Run devenv /log
  2. Close the IDE again to close the log Win+R,
  3. Run %APPDATA%\Microsoft\VisualStudio\10.0\ActivityLog.xsl
  4. Wait for it to load in Visual Studio
  5. Open %APPDATA%\Microsoft\VisualStudio\10.0\ActivityLog.xml in a web browser and it will format itself nicely.

这篇关于VS2010加载缓慢.我可以配置扩展的相应启动时间吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆