<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#c6">Comment # 6</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:timothy@apple.com" title="Timothy Hatcher <timothy@apple.com>"> <span class="fn">Timothy Hatcher</span></a>
</span></b>
<pre>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.</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>