Revert "Fix the first frame logic in tracing and driver (#35297)" (#37027)

This reverts commit 68fc7231b3.
This commit is contained in:
Jonah Williams
2019-07-26 13:08:36 -07:00
committed by GitHub
parent d39aad734f
commit 3068fc4f7c
11 changed files with 14 additions and 103 deletions

View File

@@ -13,9 +13,6 @@ void main() {
setUpAll(() async {
driver = await FlutterDriver.connect();
// TODO(liyuqian): enable the following once it's proved to be non-flaky by transition_perf_test.dart.
// await driver.waitUntilFirstFrameRasterized();
});
tearDownAll(() async {

View File

@@ -183,9 +183,6 @@ void main([List<String> args = const <String>[]]) {
setUpAll(() async {
driver = await FlutterDriver.connect();
// Wait for the first frame to be rasterized.
await driver.waitUntilFirstFrameRasterized();
if (args.contains('--with_semantics')) {
print('Enabeling semantics...');
await driver.setSemantics(true);
@@ -203,6 +200,7 @@ void main([List<String> args = const <String>[]]) {
});
test('all demos', () async {
// Collect timeline data for just a limited set of demos to avoid OOMs.
final Timeline timeline = await driver.traceAction(
() async {