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

查看:25
本文介绍了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,详情如下:MSDN 博客:故障排除带有活动日志的扩展.

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天全站免登陆