| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 /** | 59 /** |
| 60 * Instances of the class [AnalysisServer] implement a server that listens on a | 60 * Instances of the class [AnalysisServer] implement a server that listens on a |
| 61 * [CommunicationChannel] for analysis requests and process them. | 61 * [CommunicationChannel] for analysis requests and process them. |
| 62 */ | 62 */ |
| 63 class AnalysisServer { | 63 class AnalysisServer { |
| 64 /** | 64 /** |
| 65 * The version of the analysis server. The value should be replaced | 65 * The version of the analysis server. The value should be replaced |
| 66 * automatically during the build. | 66 * automatically during the build. |
| 67 */ | 67 */ |
| 68 static final String VERSION = '1.4.0'; | 68 static final String VERSION = '1.5.0'; |
| 69 | 69 |
| 70 /** | 70 /** |
| 71 * The number of milliseconds to perform operations before inserting | 71 * The number of milliseconds to perform operations before inserting |
| 72 * a 1 millisecond delay so that the VM and dart:io can deliver content | 72 * a 1 millisecond delay so that the VM and dart:io can deliver content |
| 73 * to stdin. This should be removed once the underlying problem is fixed. | 73 * to stdin. This should be removed once the underlying problem is fixed. |
| 74 */ | 74 */ |
| 75 static int performOperationDelayFreqency = 25; | 75 static int performOperationDelayFreqency = 25; |
| 76 | 76 |
| 77 /** | 77 /** |
| 78 * The channel from which requests are received and to which responses should | 78 * The channel from which requests are received and to which responses should |
| (...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1417 /** | 1417 /** |
| 1418 * The [PerformanceTag] for time spent in server request handlers. | 1418 * The [PerformanceTag] for time spent in server request handlers. |
| 1419 */ | 1419 */ |
| 1420 static PerformanceTag serverRequests = new PerformanceTag('serverRequests'); | 1420 static PerformanceTag serverRequests = new PerformanceTag('serverRequests'); |
| 1421 | 1421 |
| 1422 /** | 1422 /** |
| 1423 * The [PerformanceTag] for time spent in split store microtasks. | 1423 * The [PerformanceTag] for time spent in split store microtasks. |
| 1424 */ | 1424 */ |
| 1425 static PerformanceTag splitStore = new PerformanceTag('splitStore'); | 1425 static PerformanceTag splitStore = new PerformanceTag('splitStore'); |
| 1426 } | 1426 } |
| OLD | NEW |