-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] Add polyline benchmark with lots of cubics and quads. #36731
Conversation
|
Gold has detected about 1 new digest(s) on patchset 3. |
jonahwilliams
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Do the values of the control points of the curves matter to the benchmark? Perhaps you can generate them with something like a Mersenne twister engine with a set seed. Then have that seed be parameterized in the benchmark. May just make the benchmark more readable and allow for greater combination and configurability. |
|
The values should be stable from one run to another. |
|
I'm realizing we'll also want a benchmark that includes tessellation, since it may otherwise be hard to tell whether a point reduction will beh elpful or not. |
With a specific seed, they will be. |
Adds a benchmark for creating polylines.
I have a WIP patch locally that vastly improves quadratics and should be extensible to improve cubics as well. Want to land this first to have some data about how much improvement we're talking about.