跨平台,跨浏览器的Javascript性能分析

时间:2022-11-23 12:17:14

In addition to my recent question on server-side profiling of a PHP app, an app can have a ton of javascript, being all AJAXy in content.

除了我最近关于PHP应用程序的服务器端分析的问题,一个应用程序可以拥有大量的javascript,内容中都是AJAXy。

This begs the question of cross-platform, cross-browser javascript profiling tools - do they exist, what ones do people use, and what benefits are there for each one?

这引出了跨平台,跨浏览器的javascript分析工具的问题 - 它们是否存在,人们使用什么,以及每个工具有哪些好处?

Much appreciated.

4 个解决方案

#2


1  

you may do profiling in firebug, dont know about chrome's console though

你可以在firebug中进行分析,但不知道chrome的控制台

#3


1  

Check out HTML 5 Boilerplate.

查看HTML 5 Boilerplate。

It includes a Javascript profiler that works for IE6/7 as well. Watch the video on further explanation on how to do this. There are lots of other neat stuff in there too related to latest web standards/practices.

它包括一个适用于IE6 / 7的Javascript探查器。观看有关如何执行此操作的进一步说明的视频。其中有许多其他整洁的东西也与最新的Web标准/实践相关。

#4


0  

If your code is abstracted well, using good cross-browser frameworks and libraries, and avoid using native JavaScript wherever possibile, you should not worry about having tools to help you test across all different browsers.

如果您的代码抽象得很好,使用良好的跨浏览器框架和库,并避免在任何可能的情况下使用本机JavaScript,您不必担心有工具来帮助您跨所有不同的浏览器进行测试。

#1


#2


1  

you may do profiling in firebug, dont know about chrome's console though

你可以在firebug中进行分析,但不知道chrome的控制台

#3


1  

Check out HTML 5 Boilerplate.

查看HTML 5 Boilerplate。

It includes a Javascript profiler that works for IE6/7 as well. Watch the video on further explanation on how to do this. There are lots of other neat stuff in there too related to latest web standards/practices.

它包括一个适用于IE6 / 7的Javascript探查器。观看有关如何执行此操作的进一步说明的视频。其中有许多其他整洁的东西也与最新的Web标准/实践相关。

#4


0  

If your code is abstracted well, using good cross-browser frameworks and libraries, and avoid using native JavaScript wherever possibile, you should not worry about having tools to help you test across all different browsers.

如果您的代码抽象得很好,使用良好的跨浏览器框架和库,并避免在任何可能的情况下使用本机JavaScript,您不必担心有工具来帮助您跨所有不同的浏览器进行测试。