v8/tools/heap-stats
Michael Lippautz 96de054c96 [object-stats] Fix heap visualizer
R: hpayer@chromium.org
No-try: true
Bug: v8:7266
Change-Id: Icc8f254d4f4e7c220cc322b3c98749da5e5ea3e6
Reviewed-on: https://chromium-review.googlesource.com/866831
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Hannes Payer <hpayer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50594}
2018-01-15 20:30:07 +00:00
..
categories.js [object-stats] Fix heap visualizer 2018-01-15 20:30:07 +00:00
details-selection.html [object-stats] Enable ungrouping in visualizer 2018-01-15 18:15:26 +00:00
details-selection.js [object-stats] Fix heap visualizer 2018-01-15 20:30:07 +00:00
global-timeline.html [tools] V8 heap stats visualizer 2018-01-15 15:27:17 +00:00
global-timeline.js [object-stats] Fix heap visualizer 2018-01-15 20:30:07 +00:00
index.html [tools] V8 heap stats visualizer 2018-01-15 15:27:17 +00:00
README.md [object-stats] Enable ungrouping in visualizer 2018-01-15 18:15:26 +00:00
trace-file-reader.html [tools] V8 heap stats visualizer 2018-01-15 15:27:17 +00:00
trace-file-reader.js [tools] V8 heap stats visualizer 2018-01-15 15:27:17 +00:00

Heap Stats

Heap stats is a HTML-based tool for visualizing V8-internal object statistics. For example, the tool can be used to visualize how much heap memory is used for maintaining internal state versus actually allocated by the user.

The tool consumes log files produced by d8 (or Chromium) by passing --trace-gc-object-stats.

Hosting requires a web server, e.g.:

cd tools/heap-stats
python -m SimpleHTTPServer 8000