English 中文(简体)
如何分析网页上的载荷? [已关闭]
原标题:how to analyze load on a web page? [closed]
Closed. This question is off-topic. It is not currently accepting answers.

想要改进这个问题吗? 更新了问题 ,因此堆积溢流的回答是

Closed 11 years ago.

It happened to me to create a page to display blog posts. Every blog entry has the usual "Facebook like", "tweet this post" and "+1". There is also some extra JS for other functions and probably some scripts I am not aware of that are running in the background.

不幸的是,该页产生了非常沉重的CPU负荷,对UX产生了负面影响。

我认为,一些联署材料,在背景中运行,就是原因。

Do you recommend any solution to analyze this kind of problem? Ideally I would like a "Task manager" for the browser, where I could see WHAT is generating the heavy CPU load.

最佳回答

您需要使用 < a href=> http://www. fiddir2. com/ fiddir2/" rel= "nofollow" > http://www. fiddir2. com/ fiddir2/ 来分析它。 如果在小提琴手中拨打网页并检查网页是如何运作的, 将会非常有帮助, 告诉您哪些图像需要时间, 哪个图像加载需要时间 。 这对任何浏览器都有效 。

问题回答

您可以使用 firebug 来分析不同资源的负荷。 而且您也可以使用

约 : 记忆

或尝试

大约: 大约

查看关于什么 : 命令您可以用来分析您的问题

您可以使用铬任务管理器, 它会显示您想要的所有统计数据。 或者访问chrome:// system/ 的内存使用 。

您可以使用 YSLOW (铬扩展) 来更好地了解您的网站





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签