Bug 248299 - [WinCairo] performance drop for text rendering by Cairo 1.17.6
Summary: [WinCairo] performance drop for text rendering by Cairo 1.17.6
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://browserbench.org/MotionMark1....
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-23 21:59 PST by Fujii Hironori
Modified: 2022-12-22 16:32 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2022-11-23 21:59:29 PST
[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
Comment 1 Fujii Hironori 2022-11-24 21:26:03 PST
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.
Comment 2 Fujii Hironori 2022-11-24 23:10:24 PST
Fix scaled_glyph hash lookup on Win64 ยท freedesktop/cairo@1cc2320
https://github.com/freedesktop/cairo/commit/1cc23206bde186d4aef948bba11e591120c99dcd

It was fixed by this.