mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 09:01:42 +00:00
Use static MemoryByteStore for analysis server tests.
With this change it takes 150s vs. 220s without it. Change-Id: I7097052a2520ba9b90da79c9263673dbc0a5705f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/290345 Reviewed-by: Samuel Rawlins <srawlins@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
This commit is contained in:
parent
00cf2e8311
commit
38565dfe8b
|
@ -25,7 +25,7 @@ import 'src/utilities/mock_packages.dart';
|
|||
class AbstractContextTest with ResourceProviderMixin {
|
||||
static bool _lintRulesAreRegistered = false;
|
||||
|
||||
final ByteStore _byteStore = MemoryByteStore();
|
||||
static final ByteStore _byteStore = MemoryByteStore();
|
||||
|
||||
final Map<String, String> _declaredVariables = {};
|
||||
AnalysisContextCollectionImpl? _analysisContextCollection;
|
||||
|
|
Loading…
Reference in a new issue