Chrome Dev Tools在大型网络应用程序中响应速度非常慢 [英] Chrome Dev Tools very slow to respond in large web app

查看:533
本文介绍了Chrome Dev Tools在大型网络应用程序中响应速度非常慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个大型的JavaScript重型网络应用程序,我正在研究。 Chrome开发工具对于XHR响应和控制台日志记录(3-5秒)的响应时间非常缓慢。实际的应用程序运行速度快,响应速度快,只有开发工具看起来很痛苦。

I have a large, javascript heavy web app that I am working on. I am experiencing very slow response times from Chrome Dev Tools for XHR responses and console loggging (3-5 secs). The actual app is running fast and responsive, only dev tools looks like it is suffering.

有没有人知道为什么Chrome开发工具变得迟钝,因为我的app增长?

推荐答案

Devtools就像其他调试器一样;他们挂钩了应用程序的正常处理流程,并存储了比通常所需要的更多的信息。

Devtools are like any other debugger; they hook into the normal processing flow of an application, and store quite a bit more information than is normally required. This is much more work than simply rendering the page without debugging enabled, so it will indeed be slower.

也就是说,响应 3秒钟, console.log 似乎很高。我建议你先在 WebKit夜间版中测试应用程序。如果它在WebKit中响应,但在Chrome中不响应,请通过 http://new.crbug.com向审查员提交错误/ ,以及您可以提供的有关什么情况导致缓慢的任何信息。

That said, 3 seconds to respond to console.log seems high. I'd suggest that you first test the application in a nightly version of WebKit. If it's responsive in WebKit, but not in Chrome, please file a bug against the inspector via http://new.crbug.com/ along with any information you can provide about what scenario causes the slowness.

如果WebKit同样缓慢,请向WebKit的Inspector组件提交一个错误: https://bugs.webkit.org/enter_bug.cgi

If it's equally sluggish in WebKit, please file a bug against WebKit's Inspector component: https://bugs.webkit.org/enter_bug.cgi

无论哪种方式,在这里发布bug ID,我会看到它被分类到正确的团队中。

Either way, post the bug ID here, and I'll see that it's triaged into the correct team.

这篇关于Chrome Dev Tools在大型网络应用程序中响应速度非常慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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