开发者

Javascript memory monitor? [duplicate]

This question already has an answer here: Closed 11 years ago.

Possible Duplicate:

Javascript memory profiler

开发者_开发知识库

I like to know what variables take how much memory in Javascript. Is it even possible to do it?


What you are looking for isn't called "memory monitor". It's called "profiler".

Javascript memory profiler for Firefox e.g. has info for Javascript profilers for running Javascript in Firefox. Google has lots of profilers for Javascript in various environments: Just search for "profiler javascript"


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.

See this question and answer

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜