Finding memory leaks in JavaScript using firebug?

2019-01-09 03:27发布

Are there any add-ons for Firefox that I can use to find out with part of the JavaScript causes memory leaks?

3条回答
闹够了就滚
2楼-- · 2019-01-09 04:05

The best memory profiler I've found is for IE (supports even IE6 ;-). Give it a go - you will be surprised how good it is:

http://ajax.dynatrace.com/ajax/en/

查看更多
叼着烟拽天下
3楼-- · 2019-01-09 04:07

I've got nothing for firefox, but the webkit inspector in Chrome has a profiler built in that is great for that kind of thing.

As an added bonus it also shows you all browser events such as repaints, so you can engineer your code to have the least impact on the browser.

查看更多
疯言疯语
4楼-- · 2019-01-09 04:16

Use Drip.exe / IEleak, I used it a lot to search for memory leaks!

Other hits:

查看更多
登录 后发表回答