<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: console.takeHeapSnapshot takes snapshots even if allocations timeline is not enabled or not recording"
href="https://bugs.webkit.org/show_bug.cgi?id=158086#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: console.takeHeapSnapshot takes snapshots even if allocations timeline is not enabled or not recording"
href="https://bugs.webkit.org/show_bug.cgi?id=158086">bug 158086</a>
from <span class="vcard"><a class="email" href="mailto:bburg@apple.com" title="Brian Burg <bburg@apple.com>"> <span class="fn">Brian Burg</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=158086#c6">comment #6</a>)
<span class="quote">> No, console.takeHeapSnapshot forces it on. If that isn't used, it will
> remain off and high performance.
>
> I could buy the argument that console.profile and console.takeHeapSnapshot
> should only work if the timeline is already enabled. That way you can
> basically make console.profile and console.takeHeapSnapshot no-ops if you
> disable the right timelines.</span >
I would like there to be a way to disable it from within the inspector, otherwise it will cause GC to take way longer, and we wouldn't be able to get useful script profiles.</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>