<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: We should have a way to capture heap snapshots programatically."
href="https://bugs.webkit.org/show_bug.cgi?id=154407#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: We should have a way to capture heap snapshots programatically."
href="https://bugs.webkit.org/show_bug.cgi?id=154407">bug 154407</a>
from <span class="vcard"><a class="email" href="mailto:joepeck@webkit.org" title="Joseph Pecoraro <joepeck@webkit.org>"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
<pre>I'd suggest something like:
console.heapSnapshot(name);
Which is similar to how we do programmatic JavaScript profiles:
console.profile(name)
console.profileEnd(name)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>