| Index: pkg/analysis_server/lib/src/domain_completion.dart
|
| diff --git a/pkg/analysis_server/lib/src/domain_completion.dart b/pkg/analysis_server/lib/src/domain_completion.dart
|
| index 06c518864c36fff5b531cbcf05cb669c6130bfcb..9252382c0bcf178a0fb4a1bd647fe47df0c4aa12 100644
|
| --- a/pkg/analysis_server/lib/src/domain_completion.dart
|
| +++ b/pkg/analysis_server/lib/src/domain_completion.dart
|
| @@ -175,7 +175,7 @@ class CompletionDomainHandler implements RequestHandler {
|
| int notificationCount = 0;
|
| manager.results(completionRequest).listen((CompletionResult result) {
|
| ++notificationCount;
|
| - performance.logElapseTime("notification $notificationCount", () {
|
| + performance.logElapseTime("notification $notificationCount send", () {
|
| sendCompletionNotification(
|
| completionId,
|
| result.replacementOffset,
|
| @@ -183,6 +183,9 @@ class CompletionDomainHandler implements RequestHandler {
|
| result.suggestions,
|
| result.last);
|
| });
|
| + if (notificationCount == 1) {
|
| + performance.logFirstNotificationComplete('notification 1 complete');
|
| + }
|
| if (result.last) {
|
| performance.notificationCount = notificationCount;
|
| performance.suggestionCount = result.suggestions.length;
|
|
|