Interestingly enough, as of Light Table 0.2.0, the entire thing is now built on top of ClojureScript and the only Clojure left in the system is used for evaling Clojure. With the help of the Node-Webkit project out of Intel, we now use Node.js for all of our platform interaction and we rely on chromium to present our UI.
A friend debugging a web app today asked me what the differences between the Comparison, Dominator, Containment and Summary views in DevTools > Profiles > Heap snapshot were and I thought I’d share my replies.
Quick recap: the heap profiler gives us an overview of all the objects in memory at the time a snapshot is taken. This lets us find out what in our app using memory and is of particular use if you’re interested in improving performance.
Comparison view helps you track down memory leaks, by displaying which objects have been correctly cleaned up by the garbage collector. Generally used to record and compare two (or more) memory snapshots of before and after an operation. The idea is that inspecting the delta in freed memory and reference count lets you confirm the presence and cause of a memory leak.
Dominators view helps confirm that no unexpected references to objects are still hanging around (i.e that they are well contained) and that deletion/garbage collection is actually working.
Summary view helps you hunt down objects (and their memory use) based on type grouped by constructor name. This view is particularly helpful for tracking down DOM leaks.
Containment view provides a better view of object structure, helping us analyze objects referenced in the global namespace (i.e. window) to find out what is keeping them around. It lets you analyze closures and dive into your objects at a low level.
I've previously written about improving app performance using Timeline and the heap profiler http://addyosmani.com/blog/performance-optimisation-with-timeline-profiles/ but Peter Reinhardt also wrote about his experience with the heap profiler in more detail last year: http://reinpk.blogspot.co.uk/2012/03/using-heap-profiler-in-chrome-dev-tools.html
- University of Nebraska LincolnComputer Engineering, 2002 - 2006
- stromsburg High school1998 - 2002
- BreezeSoftware Engineer, present
YouTube - The Power of Words (you should see this)
Create AccountSign In. Home. BrowseMoviesUpload. Hey there, this is not a commercial interruption. You're using an outdated browser, whi
ACH goes real time with FiSync. Free for banks and credit unions. - Dwolla
Dwolla's FiSync service is something that we've been working on for years in some form or another. We released the standard function
Google+ Hangouts On Air: broadcast your conversation to the world
Last year we introduced Hangouts On Air to a limited number of broadcasters, enabling them to go live with friends and fans, for all the wor
What Are You Doing New Years Eve? by Zooey Deschanel and Joseph Gordon-L...
What Are You Doing New Years Eve? by Zooey Deschanel and Joseph Gordon-Levitt. hellogiggles. Subscribe Subscribed Unsubscribe. Loading... 11
SpaceX Will Launch Docking Mission In February - Forbes
NASA has announced that the SpaceX Dragon capsule will launch on February 7 for a docking mission with the International Space Station.
DragDrop - closure-library - Explains how to use the Closure Librar...
Preview Warning. This preview document is a rough draft. It may contain incorrect or outdated information, so use at your own risk. When thi