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

Side by Side Diff: pkg/analysis_server/lib/src/analysis_server.dart

Issue 955743002: Add the 'executionDomain' performance tag. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rename tag Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/domain_execution.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analysis.server; 5 library analysis.server;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:math' show max; 9 import 'dart:math' show max;
10 10
(...skipping 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after
1319 } 1319 }
1320 } 1320 }
1321 } 1321 }
1322 1322
1323 1323
1324 /** 1324 /**
1325 * Container with global [AnalysisServer] performance statistics. 1325 * Container with global [AnalysisServer] performance statistics.
1326 */ 1326 */
1327 class ServerPerformanceStatistics { 1327 class ServerPerformanceStatistics {
1328 /** 1328 /**
1329 * The [PerformanceTag] for time spent in [ExecutionDomainHandler].
1330 */
1331 static PerformanceTag executionNotifications =
1332 new PerformanceTag('executionNotifications');
1333
1334 /**
1329 * The [PerformanceTag] for time spent in 1335 * The [PerformanceTag] for time spent in
1330 * PerformAnalysisOperation._updateIndex. 1336 * PerformAnalysisOperation._updateIndex.
1331 */ 1337 */
1332 static PerformanceTag index = new PerformanceTag('index'); 1338 static PerformanceTag index = new PerformanceTag('index');
1333 1339
1334 /** 1340 /**
1335 * The [PerformanceTag] for time spent in
1336 * PerformAnalysisOperation._sendNotices.
1337 */
1338 static PerformanceTag notices = new PerformanceTag('notices');
1339
1340 /**
1341 * The [PerformanceTag] for time spent performing a _DartIndexOperation. 1341 * The [PerformanceTag] for time spent performing a _DartIndexOperation.
1342 */ 1342 */
1343 static PerformanceTag indexOperation = new PerformanceTag('indexOperation'); 1343 static PerformanceTag indexOperation = new PerformanceTag('indexOperation');
1344 1344
1345 /** 1345 /**
1346 * The [PerformanceTag] for time spent between calls to 1346 * The [PerformanceTag] for time spent between calls to
1347 * AnalysisServer.performOperation when the server is not idle. 1347 * AnalysisServer.performOperation when the server is not idle.
1348 */ 1348 */
1349 static PerformanceTag intertask = new PerformanceTag('intertask'); 1349 static PerformanceTag intertask = new PerformanceTag('intertask');
1350 1350
1351 /** 1351 /**
1352 * The [PerformanceTag] for time spent between calls to 1352 * The [PerformanceTag] for time spent between calls to
1353 * AnalysisServer.performOperation when the server is idle. 1353 * AnalysisServer.performOperation when the server is idle.
1354 */ 1354 */
1355 static PerformanceTag idle = new PerformanceTag('idle'); 1355 static PerformanceTag idle = new PerformanceTag('idle');
1356
1357 /**
1358 * The [PerformanceTag] for time spent in
1359 * PerformAnalysisOperation._sendNotices.
1360 */
1361 static PerformanceTag notices = new PerformanceTag('notices');
1356 } 1362 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/domain_execution.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698