[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
Wed May 25 17:07:24 PDT 2016


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

--- Comment #6 from Timothy Hatcher <timothy at apple.com> ---
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.

-- 
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/20160526/3324741a/attachment-0001.html>


More information about the webkit-unassigned mailing list