Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@flar
Copy link
Contributor

@flar flar commented Feb 19, 2024

The stroking benchmarks were using source paths that were completely closed which means that they were never testing the performance of stroke caps since none would be generated while widening the paths.

All stroking benchmarks are now run against unclosed versions of the paths to provide a mix of caps and joins in the measurements, and the non-stroking benchmarks are now also run against unclosed versions of the paths to add more measurements using the newly available test path data.

This change will affect all of the geometry benchmarks named "stroke_[Curve type][Cap][Join]". The Round and Square cap benchmarks will be the most affected and for the worse.

@flar
Copy link
Contributor Author

flar commented Feb 19, 2024

It's worth noting that I made a conscious decision to keep the name of the existing non-stroked benchmarks the same rather than prefix them with "closed_" in order to keep them connected to their history of measurements in the perf tracker. I could be swayed that having them be named more specific to their closed version of the path data is more important than the historical trends if reviewers think otherwise...

Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

LGTM

@flar flar added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 19, 2024
@auto-submit auto-submit bot merged commit e96c18b into flutter:main Feb 19, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App e: impeller

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants