Bug 248299
| Summary: | [WinCairo] performance drop for text rendering by Cairo 1.17.6 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <fujii.hironori> |
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://browserbench.org/MotionMark1.2/developer.html | ||
Fujii Hironori
[WinCairo] MotionMark Design performance drop by Cairo 1.17.6
Tested with: WinCairo WK1 256973@main + WebKitRequirements v2022.10.20
WebKitRequirements v2022.03.05 cairo.dll: 40.71
WebKitRequirements v2022.10.20 cairo.dll: 1.00
Screenshots: https://ibb.co/album/bH7c9t
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Fujii Hironori
https://github.com/freedesktop/cairo/commit/62681fe0523ae96a29e2ff9c080a4c0f4ad40d4c
https://github.com/freedesktop/cairo/commit/82119ec2f38fc92ba711454d87558092f0ef4b32
They are the culprit. Reverting both changes fixes the performance problem.
Fujii Hironori
Fix scaled_glyph hash lookup on Win64 ยท freedesktop/cairo@1cc2320
https://github.com/freedesktop/cairo/commit/1cc23206bde186d4aef948bba11e591120c99dcd
It was fixed by this.
Fujii Hironori
PR https://github.com/WebKitForWindows/WebKitRequirements/pull/102
Fujii Hironori
Fixed by https://github.com/WebKitForWindows/WebKitRequirements/releases/tag/v2022.12.22