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