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

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: 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 executionDomain = new PerformanceTag('executionDomain');
Paul Berry 2015/02/24 17:28:10 It looks like you're only tracking time spent comp
1332
1333 /**
1329 * The [PerformanceTag] for time spent in 1334 * The [PerformanceTag] for time spent in
1330 * PerformAnalysisOperation._updateIndex. 1335 * PerformAnalysisOperation._updateIndex.
1331 */ 1336 */
1332 static PerformanceTag index = new PerformanceTag('index'); 1337 static PerformanceTag index = new PerformanceTag('index');
1333 1338
1334 /** 1339 /**
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. 1340 * The [PerformanceTag] for time spent performing a _DartIndexOperation.
1342 */ 1341 */
1343 static PerformanceTag indexOperation = new PerformanceTag('indexOperation'); 1342 static PerformanceTag indexOperation = new PerformanceTag('indexOperation');
1344 1343
1345 /** 1344 /**
1346 * The [PerformanceTag] for time spent between calls to 1345 * The [PerformanceTag] for time spent between calls to
1347 * AnalysisServer.performOperation when the server is not idle. 1346 * AnalysisServer.performOperation when the server is not idle.
1348 */ 1347 */
1349 static PerformanceTag intertask = new PerformanceTag('intertask'); 1348 static PerformanceTag intertask = new PerformanceTag('intertask');
1350 1349
1351 /** 1350 /**
1352 * The [PerformanceTag] for time spent between calls to 1351 * The [PerformanceTag] for time spent between calls to
1353 * AnalysisServer.performOperation when the server is idle. 1352 * AnalysisServer.performOperation when the server is idle.
1354 */ 1353 */
1355 static PerformanceTag idle = new PerformanceTag('idle'); 1354 static PerformanceTag idle = new PerformanceTag('idle');
1355
1356 /**
1357 * The [PerformanceTag] for time spent in
1358 * PerformAnalysisOperation._sendNotices.
1359 */
1360 static PerformanceTag notices = new PerformanceTag('notices');
1356 } 1361 }
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