<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&#64;apple.com" title="Brian Burg &lt;bburg&#64;apple.com&gt;"> <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">&gt; No, console.takeHeapSnapshot forces it on. If that isn't used, it will
&gt; remain off and high performance.
&gt; 
&gt; I could buy the argument that console.profile and console.takeHeapSnapshot
&gt; should only work if the timeline is already enabled. That way you can
&gt; basically make console.profile and console.takeHeapSnapshot no-ops if you
&gt; 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>