测量Javascript应用程序的CPU负载 [英] Measure CPU load of Javascript applications

查看:95
本文介绍了测量Javascript应用程序的CPU负载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要测量其他Javascript事件绑定的性能开销(使用jQuery live),开销可能会增加CPU负载,并且很难从执行时间分析中注意到。

I need to measure the performance overhead of additional Javascript event bindings (using jQuery live), the overhead would probably increase CPU load and be very hard to notice from execution time profiling.

如何测量两个不同版本的Javascript应用程序之间的CPU负载差异?

How can I measure the CPU load differences between two different versions of a Javascript application?

推荐答案

分析的另一个选择是 dynaTrace Ajax edition 。 Resig有在此快速概述。这是IE特有的(但......在大多数情况下性能最差的那个......)

Another option for analysis is dynaTrace Ajax edition. Resig has a quick overview of it here. It's specific to IE (but...that's the one with the worst performance in most cases so...)

看一看,这里的所有建议都很棒,如果您正在查看IE问题(某些内部网应用程序被锁定),那么dynaTrace是一个优秀且仍然免费工具。

Take a look, all the suggestions here are great, if you're looking at IE issues (some intranet apps are locked down to it) then dynaTrace is an excellent and still free tool.

这篇关于测量Javascript应用程序的CPU负载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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