在开发过程中缓慢的页面刷新时间

编程入门 行业动态 更新时间:2024-10-27 23:25:48
本文介绍了在开发过程中缓慢的页面刷新时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们有一个相当大的ASP.NET MVC应用程序,我在Visual Studio 2012年的工作在Win 8我有重新编译后缓慢的页面加载时间一个奇怪的问题。通常情况下,实际建造时间约为5秒,然后在浏览器中打开了,它需要1-2分钟来加载页面。

We have a reasonably large ASP.NET MVC app that I work on in Visual Studio 2012 on Win 8. I have a strange issue with slow page load times after recompilation. Usually, the actual build time is about 5 seconds, then the browser opens up and it takes 1-2 minutes to load the page.

几点:

  • 它加载慢慢地我是否更改视图或完全重新编译项目
  • 这不是一个性能问题,其他一切作品真的很好,有足够的RAM等。
  • 这种事只与IIS防爆preSS。当我切换到默认的开发服务器,它工作正常。
  • 所有其他在我的团队开发者使用IIS防爆preSS,但他们没有这个问题。
  • 我试着重新安装IIS,并使用V7.5,而不是V8和重建的所有配置文件。没有运气。
  • 我试图禁用所有扩展,显然这并没有影响加载时间了。
  • 没有什么不正常的在任务管理器
  • 这是一个虚拟机上我的MacBook Pro,但同样 - 这不是一个性能问题

还有什么可以我尝试?

推荐答案

通过关闭Windows Defender的服务解决。一切都是快一百倍了。

Solved by turning off Windows Defender Service. Everything is a hundred times faster now.

更新:我失败了,为什么Windows Defender的是使用大量的CPU功率pretty的所有的时间找到一个理由。我想谷歌它和事实证明,很多人都在Win 8类似的问题没有很好的解决方案。

UPDATE: I failed to find a reason why Windows Defender is using lots of CPU power pretty much all the time. I tried to google it and it turns out that many people have a similar problem on Win 8 with no good solution.

如果你真的要离开后卫,你可以添加项目文件夹路径作为一个例外,但它仍然将是缓慢的杂交。

If you really want to leave Defender on, you can add the project folder path as an exception, but it still will be slow-ish.

希望它可以帮助别人。

更新2:上面仍然特别是如果你在一个虚拟机(我在Mac上运行的Parallels中)上运行它拥有在Windows 10真。整体速度的提升,不仅页面刷新时间,是非常明显的。

UPDATE 2: The above still holds true in Windows 10. Especially if you're running it in a virtual machine (I run it in Parallels on Mac). The overall speed increase, not only page refresh times, is very noticeable.

更新3:显然的Windows Defender有自己默默再次义无反顾的习惯。因此,要警惕这一点。

UPDATE 3: Apparently Windows Defender has a habit of silently turning itself back on again. So, be wary of that.

更多推荐

在开发过程中缓慢的页面刷新时间

本文发布于:2023-07-22 04:02:36,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1183974.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:过程中   缓慢   页面   时间

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!