Skip to content

Conversation

@dnfield
Copy link
Contributor

@dnfield dnfield commented Aug 20, 2021

Fixes #74930 again.

The previous attempt tried to handle this automatically, but it doesn't work - other callers can and do use writeResponseData for a variety of tasks, and the reportData object is not always used for timelines. At least this way we document how to handle multi-timeline tests.

@johnpryan @blasten

@google-cla google-cla bot added the cla: yes label Aug 20, 2021
@johnpryan
Copy link
Contributor

Seems reasonable, it sounds like we should add an additional driver.dart file (maybe called perf_driver.dart to our sample that follows this guidance?

Then recommend users run something like:

flutter drive --driver integration_test/perf_driver.dart --target integration_test/perf_test.dart --profile

@dnfield
Copy link
Contributor Author

dnfield commented Aug 21, 2021

That SGTM

@abd99
Copy link
Contributor

abd99 commented Aug 22, 2021

Seems reasonable, it sounds like we should add an additional driver.dart file (maybe called perf_driver.dart to our sample that follows this guidance?

I can send a PR for this.

@johnpryan
Copy link
Contributor

Thank you, @abd99!

@goderbauer goderbauer added the f: integration_test The flutter/packages/integration_test plugin label Sep 8, 2021
Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

f: integration_test The flutter/packages/integration_test plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chrome tracing tools not able to read multiple timelines from one file generated by the integration_test package

5 participants