Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Issue 1463923003: Rolling average work queue diagnostic (#24933). (Closed)

Created:
5 years, 1 month ago by pquitslund
Modified:
5 years, 1 month ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Rolling 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -41 lines) Patch
M pkg/analysis_server/lib/plugin/protocol/generated_protocol.dart View 8 chunks +30 lines, -2 lines 0 comments Download
M pkg/analysis_server/lib/src/domain_diagnostic.dart View 1 4 chunks +153 lines, -37 lines 0 comments Download
M pkg/analysis_server/test/domain_diagnostic_test.dart View 1 2 chunks +5 lines, -0 lines 0 comments Download
M pkg/analysis_server/test/integration/protocol_matchers.dart View 2 chunks +2 lines, -0 lines 0 comments Download
M pkg/analysis_server/tool/spec/generated/java/types/ContextData.java View 8 chunks +21 lines, -2 lines 0 comments Download
M pkg/analysis_server/tool/spec/spec_input.html View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
pquitslund
5 years, 1 month ago (2015-11-20 21:46:03 UTC) #2
devoncarew
lgtm Lgtm from the pov of the data being sent. Thanks! https://codereview.chromium.org/1463923003/diff/1/pkg/analysis_server/lib/src/domain_diagnostic.dart File pkg/analysis_server/lib/src/domain_diagnostic.dart (right): ...
5 years, 1 month ago (2015-11-20 22:17:06 UTC) #3
Brian Wilkerson
> ... the mapping of context folders to averages in not garbage collected ... If ...
5 years, 1 month ago (2015-11-20 22:18:10 UTC) #4
pquitslund
On 2015/11/20 22:18:10, Brian Wilkerson wrote: > > ... the mapping of context folders to ...
5 years, 1 month ago (2015-11-20 22:22:38 UTC) #5
pquitslund
Thanks! https://codereview.chromium.org/1463923003/diff/1/pkg/analysis_server/lib/src/domain_diagnostic.dart File pkg/analysis_server/lib/src/domain_diagnostic.dart (right): https://codereview.chromium.org/1463923003/diff/1/pkg/analysis_server/lib/src/domain_diagnostic.dart#newcode148 pkg/analysis_server/lib/src/domain_diagnostic.dart:148: void reset() { On 2015/11/20 22:17:06, devoncarew wrote: ...
5 years, 1 month ago (2015-11-20 22:22:51 UTC) #6
pquitslund
5 years, 1 month ago (2015-11-20 22:24:55 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
c0466f28f51bc4e00f4646504e3736b3d9580eb2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698