Finding memory leaks in JavaScript using firebug?

前端 未结 3 2059
情话喂你
情话喂你 2020-12-01 14:27

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

3条回答
  •  星月不相逢
    2020-12-01 15:21

    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.

提交回复
热议问题