Skip to content

Add a benchmark that focuses on Paint object performance #60939

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 2 commits into from
Jul 11, 2020

Conversation

yjbanov
Copy link
Contributor

@yjbanov yjbanov commented Jul 7, 2020

Description

Add a benchmark that focuses on Paint object performance. This benchmark is more sensitive to @JS migration than the existing one.

@yjbanov yjbanov requested a review from harryterkelsen July 7, 2020 00:00
@fluttergithubbot fluttergithubbot added the c: contributor-productivity Team-specific productivity, code health, technical debt. label Jul 7, 2020
@fluttergithubbot
Copy link
Contributor

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@yjbanov yjbanov force-pushed the bench-variable-paint branch from 8edff67 to 906472d Compare July 9, 2020 17:15
///
/// This is used to benchmark the efficiency of passing a large number of
/// paint objects to the rendering system.
final bool isVariablePaint;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: maybe rename to something clearer like useUniquePaint?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done (renamed to benchmarkPaint as discussed offline)

@yjbanov
Copy link
Contributor Author

yjbanov commented Jul 11, 2020

Merging on red iOS bot. It seems to have failed with the same timeout error as when it succeeded with a flake, so I'm suspecting flakiness. This code is unrelated to iOS anyway.

@yjbanov yjbanov merged commit 744a169 into flutter:master Jul 11, 2020
mingwandroid pushed a commit to mingwandroid/flutter that referenced this pull request Sep 6, 2020
* Add a benchmark the focuses on Paint object performance
@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
c: contributor-productivity Team-specific productivity, code health, technical debt.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants