[Webkit-unassigned] [Bug 55794] Web Inspector: Need new graphic icon for garbage collect button

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 7 04:57:31 PST 2011


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





--- Comment #8 from Mikhail Naganov <mnaganov at chromium.org>  2011-03-07 04:57:31 PST ---
(In reply to comment #5)
> We were discussing adding counters into the Node (and other classes) the other day. Now imagine there are counters and we are sending them with every timeline event and we visualize their graphs as we do with memory.
> 
> But you need to force gc in order for these counters to make sense. As a result, in addition to the button in the UI you need a programmatic was of performing gc from a web-facing API. Exposing console.gc that would work while inspector is opened is an option, performance.memory.gc() that would work whenever performance.memory is exposed would also work. As a result, I think we should:
> 
> 1) expose performance.memory.gc()
> 2) make performance.memory work whenever inspector for the page is opened
> 

2) already works, it doesn't need Inspector. "performance.memory" is already always exposed, it contains zero values if reporting is disabled.

> both seem trivial and for good. This can be a part of a separate change of course.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list