case
28Mar/120

JSProfiler – Javascript memory profiler

JsProfiler is a small javascript that I've build to help me identify memory leaks and improve overall performance of some code I was working on.
It works by wrapping all the methods in the given context and keeping track of the number of times they run, how much memory they consume and how long they take to execute.

The results can be viewed real time in a small overlay or you can track specific methods and see the output in the console.
Unfortunately it only works in Google Chrome since Chrome exposes the memory information.

screenshot JSProfiler   Javascript memory profiler

More usage information and download on github

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


*

CommentLuv badge

No trackbacks yet.