Rails 3.2.1 在开发模式下非常慢
由于我在开发服务器上升级了我的应用程序,因此请求非常慢。如果日志似乎渲染得很快,则需要 10-15 秒才能完成加载(如果页面已完全加载则发生事件)
我的配置:
- Rails 3.2.1
- Ruby 1.9.3-p125 (rvm)
- Standalone Passenger (3.0.11)
我的开发机器上没有这种问题,所以我猜问题不是来自我的应用程序
Since i upgrade my app on my development server, the request are terribly slow. Event if the log seems to render quite quickly, it take 10-15 second for the loading to be complete (event if the page is already fully loaded)
My configuration :
- Rails 3.2.1
- Ruby 1.9.3-p125 (rvm)
- Standalone Passenger (3.0.11)
I do not have this kind of issue on my development machine, so i guess the problem is not coming from my application
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我有一个非常相似的问题。发现这个问题( Slow asset ruby 1.9.3,macos 、rails 3.2 )这帮助我发现问题出在 chrome 上。仍然不知道为什么,或者如何解决它。
I had a very similar problem. Found this question ( Slow assets ruby 1.9.3, macos, rails 3.2 ) which helped me discover it was chrome where the problem was occurring. Still don't know why, or how to fix it.
就我而言,Rails Panel 扩展拖慢了 Chrome 的速度。我刚刚禁用了它,应用程序速度提高了 3 倍。
In my case it was Rails Panel extension that was slowing Chrome. I just disabled it and it the app became 3 times faster.