summaryrefslogtreecommitdiff
path: root/deps/v8/tools/heap-stats/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/tools/heap-stats/index.html')
-rw-r--r--deps/v8/tools/heap-stats/index.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/deps/v8/tools/heap-stats/index.html b/deps/v8/tools/heap-stats/index.html
index 3762502201..648a38c798 100644
--- a/deps/v8/tools/heap-stats/index.html
+++ b/deps/v8/tools/heap-stats/index.html
@@ -16,6 +16,8 @@ found in the LICENSE file. -->
integrity="sha256-N1z6ddQzX83fjw8v7uSNe7/MgOmMKdwFUv1+AJMDqNM="
crossorigin="anonymous"></script>
+ <script src="helper.js"></script>
+
<link rel="import" href="details-selection.html">
<link rel="import" href="global-timeline.html">
<link rel="import" href="histogram-viewer.html">
@@ -68,13 +70,13 @@ function globalSelectionChangedA(e) {
</head>
<body>
+ <h1>V8 Heap Statistics</h1>
<trace-file-reader onchange="globalDataChanged(event)"></trace-file-reader>
<details-selection id="details-selection" onchange="globalSelectionChangedA(event)"></details-selection>
<global-timeline id="global-timeline"></global-timeline>
<histogram-viewer id="histogram-viewer"></histogram-viewer>
- <h1>V8 Heap Statistics</h1>
<p>Visualize object statistics that have been gathered using</p>
<ul>
<li><code>--trace-gc-object-stats</code> on V8</li>
@@ -86,6 +88,10 @@ function globalSelectionChangedA(e) {
</li>
</ul>
<p>
+ Note that you only get a data point on major GCs. You can enforce this by
+ using the <code>--gc-global</code> flag.
+ </p>
+ <p>
Note that the visualizer needs to run on a web server due to HTML imports
requiring <a
href="https://en.wikipedia.org/wiki/Cross-origin_resource_sharing">CORS</a>.