• Home
Name Date Size #Lines LOC

..--

README.mdD06-Mar-2025563 1711

categories.jsD06-Mar-20256.7 KiB214206

details-selection-template.htmlD06-Mar-20252.9 KiB152131

details-selection.jsD06-Mar-202514.4 KiB448387

global-timeline-template.htmlD06-Mar-2025323 1410

global-timeline.jsD06-Mar-20257 KiB228202

helper.jsD06-Mar-2025844 3123

histogram-viewer-template.htmlD06-Mar-2025377 1713

histogram-viewer.jsD06-Mar-20255.3 KiB192164

index.htmlD06-Mar-20253.4 KiB11290

model.jsD06-Mar-20253.5 KiB10685

trace-file-reader-template.htmlD06-Mar-20251.4 KiB8268

trace-file-reader.jsD06-Mar-202511.3 KiB329287

README.md

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