v8/tools/heap-stats
Michael Lippautz b80a698d72 [tools] V8 heap stats visualizer
Visualizes --trace-gc-object-stats output.

No-try: true
Bug: v8:7266
Change-Id: I5beb15d63e645484f07fe5f2341105c4cfe0b550
Reviewed-on: https://chromium-review.googlesource.com/860580
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50587}
2018-01-15 15:27:17 +00:00
..
categories.js [tools] V8 heap stats visualizer 2018-01-15 15:27:17 +00:00
details-selection.html [tools] V8 heap stats visualizer 2018-01-15 15:27:17 +00:00
details-selection.js [tools] V8 heap stats visualizer 2018-01-15 15:27:17 +00:00
global-timeline.html [tools] V8 heap stats visualizer 2018-01-15 15:27:17 +00:00
global-timeline.js [tools] V8 heap stats visualizer 2018-01-15 15:27:17 +00:00
index.html [tools] V8 heap stats visualizer 2018-01-15 15:27:17 +00:00
README.md [tools] V8 heap stats visualizer 2018-01-15 15:27:17 +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