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:core' hide Resource; | 9 import 'dart:core' hide Resource; |
10 import 'dart:io' as io; | 10 import 'dart:io' as io; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 /** | 75 /** |
76 * Instances of the class [AnalysisServer] implement a server that listens on a | 76 * Instances of the class [AnalysisServer] implement a server that listens on a |
77 * [CommunicationChannel] for analysis requests and process them. | 77 * [CommunicationChannel] for analysis requests and process them. |
78 */ | 78 */ |
79 class AnalysisServer { | 79 class AnalysisServer { |
80 /** | 80 /** |
81 * The version of the analysis server. The value should be replaced | 81 * The version of the analysis server. The value should be replaced |
82 * automatically during the build. | 82 * automatically during the build. |
83 */ | 83 */ |
84 static final String VERSION = '1.15.0'; | 84 static final String VERSION = '1.17.0'; |
85 | 85 |
86 /** | 86 /** |
87 * The number of milliseconds to perform operations before inserting | 87 * The number of milliseconds to perform operations before inserting |
88 * a 1 millisecond delay so that the VM and dart:io can deliver content | 88 * a 1 millisecond delay so that the VM and dart:io can deliver content |
89 * to stdin. This should be removed once the underlying problem is fixed. | 89 * to stdin. This should be removed once the underlying problem is fixed. |
90 */ | 90 */ |
91 static int performOperationDelayFrequency = 25; | 91 static int performOperationDelayFrequency = 25; |
92 | 92 |
93 /** | 93 /** |
94 * The options of this server instance. | 94 * The options of this server instance. |
(...skipping 1701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1796 /** | 1796 /** |
1797 * The [PerformanceTag] for time spent in server request handlers. | 1797 * The [PerformanceTag] for time spent in server request handlers. |
1798 */ | 1798 */ |
1799 static PerformanceTag serverRequests = new PerformanceTag('serverRequests'); | 1799 static PerformanceTag serverRequests = new PerformanceTag('serverRequests'); |
1800 | 1800 |
1801 /** | 1801 /** |
1802 * The [PerformanceTag] for time spent in split store microtasks. | 1802 * The [PerformanceTag] for time spent in split store microtasks. |
1803 */ | 1803 */ |
1804 static PerformanceTag splitStore = new PerformanceTag('splitStore'); | 1804 static PerformanceTag splitStore = new PerformanceTag('splitStore'); |
1805 } | 1805 } |
OLD | NEW |