这是indexloc提供的服务,不要输入任何密码
Skip to content

[flutter_driver] make timeline request in chunks #58430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 1, 2020

Conversation

jonahwilliams
Copy link
Contributor

@jonahwilliams jonahwilliams commented Jun 1, 2020

Description

Work-around large timeline data killing devicelab machines by requesting data in 1 second intervals and combining at the end. Non-breaking change to the driver API.

#57756

@fluttergithubbot fluttergithubbot added a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. labels Jun 1, 2020
Copy link
Member

@zanderso zanderso left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@iskakaushik iskakaushik left a comment

Choose a reason for hiding this comment

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

LGTM

@jonahwilliams jonahwilliams merged commit cd7dfd0 into flutter:master Jun 1, 2020
@jonahwilliams jonahwilliams deleted the try_time_ranges branch June 1, 2020 20:58
jiahaog added a commit to jiahaog/flutter that referenced this pull request Jun 22, 2020
When `retainPriorEvents` is passed as true, the current behavior still limits timeline events to the timestamp after `traceEvents` is called. This can cause startup events to be missing.

This fixes it by passing null to `stopTracingAndDownloadTimeline` for the start and end time.

Related: flutter#58430
jiahaog added a commit that referenced this pull request Jun 23, 2020
When `retainPriorEvents` is passed as true, the current behavior still limits timeline events to the timestamp after `traceEvents` is called. This can cause startup events to be missing.

This fixes it by passing null to `stopTracingAndDownloadTimeline` for the start and end time.

Related: #58430
@liyuqian liyuqian added the perf: memory Performance issues related to memory label Jun 24, 2020
@liyuqian
Copy link
Contributor

liyuqian commented Jun 24, 2020

This seems to significantly reduce our "complex_layout_scroll_perf__devtools_memory maxAdbTotal" benchmark. Although this may not affect the release mode, it's still great to reduce the memory usage in the profile/debug mode.

Screen Shot 2020-06-24 at 10 38 05 AM

mingwandroid pushed a commit to mingwandroid/flutter that referenced this pull request Sep 6, 2020
When `retainPriorEvents` is passed as true, the current behavior still limits timeline events to the timestamp after `traceEvents` is called. This can cause startup events to be missing.

This fixes it by passing null to `stopTracingAndDownloadTimeline` for the start and end time.

Related: flutter#58430
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. perf: memory Performance issues related to memory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants