Chromium Code Reviews
DescriptionRolling average work queue diagnostic (#24933).
Background: https://github.com/dart-lang/sdk/issues/24933
Salient bits:
* sampling will only start if a client registers interest in diagnostics.
* sampling will stop if clients stop requesting diagnostics.
* sample results are coming back as a string (but a double would be better).
* the mapping of context folders to averages in not garbage collected; since it's only potentially leaking `_Average` objects (and not contexts) when folders are deleted, I think that's fairly benign.
BUG=24933
R=brianwilkerson@google.com, devoncarew@google.com
Committed: https://github.com/dart-lang/sdk/commit/c0466f28f51bc4e00f4646504e3736b3d9580eb2
Patch Set 1 #
Total comments: 2
Patch Set 2 : nits #
Messages
Total messages: 7 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||