Skip to content

Add devicelab benchmark tags support #92141

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 4 commits into from
Oct 20, 2021

Conversation

keyonghan
Copy link
Contributor

@keyonghan keyonghan commented Oct 19, 2021

Add benchmark tags support for devicelab benchmarks.

This will be a noop for existing workflow, unless we inject tags from recipe. A companion CL will be submitted soon.

Related: #92203

@flutter-dashboard flutter-dashboard bot added the c: contributor-productivity Team-specific productivity, code health, technical debt. label Oct 19, 2021
@google-cla google-cla bot added the cla: yes label Oct 19, 2021
@keyonghan keyonghan changed the title [draft] Add devicelab benchmark tags Add devicelab benchmark tags support Oct 20, 2021
/// "host_type": "linux",
/// "host_version": "debian-10.11"
/// }
List<MetricPoint> parse(Map<String, dynamic> resultsJson, Map<String, dynamic> benchmarkTags) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Would benchmark tags be synonymous with the BuildBucket build's properties?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They are similar in denoting useful test related info, but the benchmark tags here focus on benchmark related ones, especially the device and host info.

Copy link
Contributor

Choose a reason for hiding this comment

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

How do we plan to generate these values? Is it a filtered set from the properties?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is not simply a subset of the properties, and the logic is not trivial.
I have a draft CL (WIP) to generate tags from recipes when running the tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks! That's what I was curious about

Copy link
Contributor

@CaseyHillers CaseyHillers left a comment

Choose a reason for hiding this comment

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

flutter-lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: contributor-productivity Team-specific productivity, code health, technical debt.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants