Revert "Revert "Migrate some benchmarks to NNBD (#75023)" (#75053)" (#75265)

This commit is contained in:
Michael Goderbauer
2021-02-02 19:36:05 -08:00
committed by GitHub
parent efd487922d
commit 1e8e414787
7 changed files with 21 additions and 28 deletions

View File

@@ -7,7 +7,7 @@ import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
void main() {
group('scrolling performance test', () {
FlutterDriver driver;
late FlutterDriver driver;
setUpAll(() async {
driver = await FlutterDriver.connect();
@@ -16,8 +16,7 @@ void main() {
});
tearDownAll(() async {
if (driver != null)
driver.close();
driver.close();
});
Future<void> testScrollPerf(String listKey, String summaryName) async {