close
Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Heap snapshot visualizer

This demo is a DevTools extension to show a visualization of the contents of a *.heapsnapshot file.

* This extension is under development

What is a heap snapshot file?

The DevTools Memory tool produces a *.heapsnapshot file. For information about the schema of the file, see The heap snapshot file format.

What kind of visualization?

  • A force directed graph.
  • A tree.

What can I do with it?

  • Filter nodes.
  • Explore the memory structure starting from GC retainers.
  • Isolate the retainer chain for a single node using its object ID.

Dependencies

This extension uses React and D3.

How to Install and Build

This is a project that uses Typescript and React. To get the outputs that are needed for the extension, build the demo as follows:

npm install

npm run build

Load

  1. Open Microsoft Edge.
  2. Go to edge://extensions.
  3. Enable Developer Mode.
  4. Click "Load unpacked" and select the build folder.
  5. Go to a webpage, and then open DevTools.
  6. Find the Heap Snapshot Visualizer tab.