在IE中测量Javascript性能 [英] Measuring Javascript performance in IE

查看:72
本文介绍了在IE中测量Javascript性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网页大量使用Javascript(AJAX请求,Google Maps API,HTML构建等),只要在Internet Explorer中打开,该网页都会使我的电脑瘫痪.我正在寻找一些工具来帮助我找出哪些功能最耗时.我有一些基本的javascript函数分析功能,但是考虑到我不知道具体是哪个函数运行缓慢,因此这些功能没有太大帮助.该工具必须用于IE,因为该页面在其他浏览器中可以正常运行.

I have a webpage that heavily uses Javascript (AJAX requests, Google Maps API, HTML building, etc) and the page brings my PC to its knees whenever opened in Internet Explorer. I'm looking for some tools to help me find out which functions are taking the most time to finish. I have some basic profiling javascript functions, but those don't help much considering I don't know what function specifically is being slow. The tool has to be for IE, as the page runs fine in other browsers.

推荐答案

您实际上可能想查看IE8附带的Developer工具.我知道js调试和概要分析是其中的一部分.

You might actually want to check out the Developer tools that come with IE8. I know js debugging and profiling are part of it.

这篇关于在IE中测量Javascript性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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