Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 } |
| OLD | NEW |