Visual Studio 性能和加载项

发布于 2024-08-01 21:31:38 字数 163 浏览 1 评论 0原文

Visual Studio 的有用插件(Resharper、StyleCop 等)是否可以加快您的工作速度? 或者工具需要太多资源而您必须等到每个加载项完成执行?

[更新]:顺便问一下,有人注意到 IDE + Resharper 的性能对于包含网站或 Web 应用程序的解决方案是否更好?

Do the useful add-ins (Resharper, StyleCop, etc.) to Visual Studio speed up your work? Or tools need too many resources and you have to wait until each add-in completes execution?

[Update]: By the way does some body notice whether performance of IDE + Resharper is better for solutions that contain web sites or web applications?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

挽清梦 2024-08-08 21:31:38

我使用重构! 每时每刻。 在我看来,将私有变量封装到属性中节省的时间是值得的。

话虽如此……如果您一开始就正确编程,这些程序的许多“好处”就会被抵消。

例如,如果您已经习惯性地正确使用“WITH”语句,那么您可能不需要某些东西来清理您的风格。

然而,在美国企业界(我确信还有其他地方),编码实践并不总是被每个人遵循,返工和修改总是会出现,所以通常你最终会需要它们。

我个人没有经历过这些类型的工具在性能上有任何明显的差异。

I user Refactor! all the time. Just the time it saves me to encapsulate private variables into properties is worth it in my opinion.

That being said... a lot of the "benefits" of these programs are negated if you program it correctly to begin with.

For example, if you already habitually use "WITH" statements properly, you probably do not need something to clean up your style.

However in corporate America (and elsewhere I am sure), coding practices are not always followed by everyone, and rework and modifications are always coming in, so usually you will end up needing them eventually.

I personally have not experienced any noticeable difference in performance with these type of tools.

怎会甘心 2024-08-08 21:31:38

ReSharper 无疑对硬件资源提出了要求,特别是在大型项目上使用站点范围分析时。 话虽如此,性能影响的程度很大程度上取决于主机。 在我的工作笔记本电脑(32 位 XP、3Gb RAM、7200 RPM HDD、2.2 GHz 双核)上,它表现不佳,但在我的家用电脑(64 位 Win 7、8Gb RAM、7200 RPM HDD、2.9 GHz 四核)上,它运行良好,我几乎没有注意到性能受到影响。 也就是说,即使在较低规格的硬件上,我仍然无法没有它。 生产率的提高仍然超过了等待较慢流程所造成的停机时间。

ReSharper definitely puts a demand on hardware resources, particularly when using site wide analysis on a large project. Having said that, the extent of the performance hit is highly dependent on the host machine. On my work laptop (32 bit XP, 3Gb RAM, 7200 RPM HDD, 2.2 GHz dual core) it suffers but on my home PC (64 bit Win 7, 8Gb RAM, 7200 RPM HDD, 2.9 GHz quad core) it flies and I barely notice the performance hit. That said, I still couldn’t live without it even on the lower specced hardware. The productivity gain still outweighs the downtime in waiting for slower processes.

拿命拼未来 2024-08-08 21:31:38

我使用一些加载项,只要它们不影响 Visual Studio 的性能即可。 为此,StyleCop、MZ-Tools 和 Visual Studio Commands 等工具是明显的赢家。

我在使用 Refactor 这样的工具时遇到的问题! 和 Resharper 的缺点是

  1. 它们会降低性能,特别是对于大型解决方案。
  2. 您变得依赖于它们提供的快捷键等,并且在未安装它们的另一个环境中工作时变得完全无用。

是的,像 Refactor 这样的工具! 和 Resharper 的功能非常出色,可以提高您的打字效率,但我认为这种收益不值得依赖。 当然,这很大程度上取决于您如何使用它们。 对于重构方法参数、将字段更改为属性等事情,它们非常有用,并且可能节省大量时间。 同样,虽然它可以节省大量时间,但了解这些工具实际上为您做什么仍然很重要,这样您在没有它们的情况下仍然可以提高工作效率。

I use some add-ins as long as they don't affect the performance of Visual Studio. To that end, tools like StyleCop, MZ-Tools, and Visual Studio Commands are the clear winners.

The problem I have with tools like Refactor! and Resharper are that

  1. They degrade performance, particularly for large solutions.
  2. You become dependent on the shortcut keys, etc. they provide and become completely useless when working on another environment that doesn't have them installed.

Yes, tools like Refactor! and Resharper are excellent for what they do and can increase your typing productivity but I don't think the gain is worth the dependence. This, of course, depends largely on how you use them. For things like refactoring method parameters, changing fields into properties, etc. they can be very useful and potentially save a lot of time. Again, while it can save a lot of time it is still important to know what these tools are actually doing for you so you can still be productive without them.

记忆之渊 2024-08-08 21:31:38

我可以非常强烈地说,resharper 确实大大提高了我的工作效率。 过去版本的 Resharper 在 IDE 方面存在一些性能不佳的问题,但我在最新版本中没有遇到任何问题。

I can speak very strongly that resharper definitly does speed my productivity greatly. Past versions of Resharper have had some bad performance issue with the IDE but I have had no issues with the most recent version.

兔小萌 2024-08-08 21:31:38

我有 Resharper、Resharper Scout 和 Team Explorer + TFS Power 工具。 与准系统相比,我的 Visual Studio 确实感觉有点迟缓,但如果您想要超高速的功能,为什么不在记事本中工作呢? 对我来说,Resharper 绝对值得粘性。

I have Resharper, Resharper Scout and Team Explorer + TFS Power tools. My Visual Studio definitely feels a little sluggish comparing to barebones, but if you want superspeed over features why not work in Notepad? For me, Resharper is definitely worth the viscosity.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文