[Webkit-unassigned] [Bug 158086] Web Inspector: console.takeHeapSnapshot takes snapshots even if allocations timeline is not enabled or not recording

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 27 07:19:50 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=158086

--- Comment #7 from Brian Burg <bburg at apple.com> ---
(In reply to comment #6)
> 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.

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160527/8c9721d8/attachment.html>


More information about the webkit-unassigned mailing list