即使处于空闲模式,VS2013 也会永久使用 CPU [英] VS2013 permanent CPU usage even though in idle mode

查看:21
本文介绍了即使处于空闲模式,VS2013 也会永久使用 CPU的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将 VS2013 更新为 Update 1,从那时起 VS 将 CPU 使用率永久占用到 25%(在 4 核英特尔 i5 cpu 上),即使它应该处于空闲状态.我认为它有一些未完成的后台进程,所以我让它运行了一段时间,但它在它应该空闲时继续使用 CPU.

I've recently updated VS2013 to Update 1 and since then VS takes CPU usage to 25% (on a 4 cores intel i5 cpu) permanently even though it's supposed to be idle. I thought it has some unfinished background processes so I left it running for a while but it keeps using the cpu when it's supposed to be idle.

您更新后是否出现类似行为?

Are you getting a similar behaviour after updating?

Edit 1:我在 vs 中使用了 git 和 python 工具,所以在更新 1 之后可能会有一些冲突.

Edit 1: I'm using git and python tools for vs, so there might be some conflicts after Update 1.

Edit 2:VS2013 中的 git 集成有问题.我在 devenv.exe 上运行了一个分析器,git2-msvstfs.dll 占用了大部分 cpu 使用率,尽管它应该是空闲的.我向 MS 发送了失败通知.如果您有同样的问题,请为此投票:http://connect.microsoft.com/VisualStudio/feedback/details/844616/vs2013-update-1-cpu-usage-not-normal

Edit 2: The git integration in VS2013 is buggy. I ran a profiler on devenv.exe and git2-msvstfs.dll takes most of cpu usage although it should be idle. I sent a failure notice to MS. If you have the same problem please vote for this: http://connect.microsoft.com/VisualStudio/feedback/details/844616/vs2013-update-1-cpu-usage-not-normal

编辑 3:最近发布了更新 2.此错误已在 VS2013 Update 2 中修复.

Edit 3: Update 2 has been recently released. This bug was fixed in VS2013 Update 2.

编辑 4:更新 3 &由于多种原因(不仅是 git dll 模块),4 被释放并且 CPU 使用率变得疯狂.禁用 Browser Link 如以下答案之一似乎可以解决问题.

Edit 4: Updates 3 & 4 were released and CPU usage goes crazy due to multiple causes (not only git dll module). Disabling Browser Link as in one of the below answers seems to fix the problem.

推荐答案

Edit 2:Updates 3 & 中可能出现的错误回归4.

Edit 2: Possible bug regression in Updates 3 & 4.

Edit 1:该错误已在 VS2013 Update 2 中修复.

Edit 1: The bug was fixed in VS2013 Update 2.

可以通过这种方式从 Visual Studio 2013 禁用 git 插件:

One can disable git plug-in from Visual Studio 2013 in this way:

工具->选项

源代码管理:将当前源代码管理插件设置为

使用其他 git 客户端来管理您的存储库.

Use other git clients to manage your repositories.

这篇关于即使处于空闲模式,VS2013 也会永久使用 CPU的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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