• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Heap Stats
2
3Heap stats is a HTML-based tool for visualizing V8-internal object statistics.
4For example, the tool can be used to visualize how much heap memory is used for
5maintaining internal state versus actually allocated by the user.
6
7The tool consumes log files produced by d8 (or Chromium) by passing
8`--trace-gc-object-stats` or a trace captured using Chrome's tracing
9infrastructure. Chrome trace files can either be processed as gzip or raw text
10files.
11
12
13Hosting requires a web server, e.g.:
14
15    cd tools/heap-stats
16    python -m SimpleHTTPServer 8000
17