-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Add a comparative benchmark for SkM44 vs SkMatrix vs impeller::Matrix #51332
Add a comparative benchmark for SkM44 vs SkMatrix vs impeller::Matrix #51332
Conversation
Preliminary results running on my MBP M1 Max: Results on MBP M1 Max
|
Would be a good benchmark to experiment with a SIMD implementation: |
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
Newer results based on the new architecture and with many more cases measured: Results from M1 Max MBP
|
I'd like to add Perspective matrices for completion. They aren't used a lot, but we might as well track them. |
New perspective cases added. Here is the associated output from the extra new tests: Perspective results on M1 Max MBP
|
I think its fine to add more benchmark cases - these engine benchmarks are very cheap since they run on host machines. |
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
…145094) flutter/engine@2871c26...6ceccf8 2024-03-13 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from UR-nKoLidl7cVLrrN... to mYZPzdM3hCE1TA91s... (flutter/engine#51370) 2024-03-13 flar@google.com Add a comparative benchmark for SkM44 vs SkMatrix vs impeller::Matrix (flutter/engine#51332) Also rolling transitive DEPS: fuchsia/sdk/core/linux-amd64 from UR-nKoLidl7c to mYZPzdM3hCE1 If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC bdero@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
In preparation for converting the DisplayList and engine Layer code to using Impeller data structures the performance differential for the various transform objects is important information. According to this benchmark, the performance of Impeller's data structure is sometimes faster and never significantly worse than the Skia objects.