Skip to content

Commit 5c67ae3

Browse files
author
John Messerly
committed
Use trackCacheDependencies for performance speedup
[email protected] Review URL: https://codereview.chromium.org/2059253003 .
1 parent 5016cbc commit 5c67ae3

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

pkg/dev_compiler/lib/src/analyzer/context.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ AnalysisContext createAnalysisContextWithSources(AnalyzerOptions options,
142142
/// Creates an analysis context that contains our restricted typing rules.
143143
AnalysisContextImpl createAnalysisContext() {
144144
var res = AnalysisEngine.instance.createAnalysisContext();
145-
res.analysisOptions = new AnalysisOptionsImpl()..strongMode = true;
145+
res.analysisOptions = new AnalysisOptionsImpl()
146+
..strongMode = true
147+
..trackCacheDependencies = false;
146148
return res;
147149
}
148150

pkg/dev_compiler/pubspec.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ packages:
66
name: analyzer
77
url: "https://pub.dartlang.org"
88
source: hosted
9-
version: "0.27.4-alpha.7"
9+
version: "0.27.4-alpha.11"
1010
args:
1111
description:
1212
name: args
@@ -66,7 +66,7 @@ packages:
6666
name: crypto
6767
url: "https://pub.dartlang.org"
6868
source: hosted
69-
version: "0.9.2+1"
69+
version: "2.0.1"
7070
csslib:
7171
description:
7272
name: csslib
@@ -144,7 +144,7 @@ packages:
144144
name: package_config
145145
url: "https://pub.dartlang.org"
146146
source: hosted
147-
version: "0.1.3"
147+
version: "0.1.5"
148148
path:
149149
description:
150150
name: path
@@ -264,13 +264,13 @@ packages:
264264
name: web_socket_channel
265265
url: "https://pub.dartlang.org"
266266
source: hosted
267-
version: "1.0.3"
267+
version: "1.0.4"
268268
webdriver:
269269
description:
270270
name: webdriver
271271
url: "https://pub.dartlang.org"
272272
source: hosted
273-
version: "0.8.8"
273+
version: "1.1.1"
274274
when:
275275
description:
276276
name: when

pkg/dev_compiler/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: Dart Dev Compiler team <[email protected]>
88
homepage: https://github.com/dart-lang/dev_compiler
99

1010
dependencies:
11-
analyzer: ^0.27.4-alpha.7
11+
analyzer: ^0.27.4-alpha.11
1212
args: ^0.13.0
1313
bazel_worker: ^0.1.0
1414
cli_util: ^0.0.1
@@ -27,7 +27,7 @@ dev_dependencies:
2727
dart_style: 0.2.4
2828
test: ^0.12.0
2929
unittest: ^0.11.6
30-
webdriver: ^0.8.8
30+
webdriver: ^1.0.0
3131

3232
dependency_overrides:
3333
# Remove once there is a package:test that allows 1.18 SDKs in its contraint.

0 commit comments

Comments
 (0)