WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
77012
Screen freezing for short time while scrolling.
https://bugs.webkit.org/show_bug.cgi?id=77012
Summary
Screen freezing for short time while scrolling.
JungJik Lee
Reported
2012-01-25 08:37:24 PST
I found a short time screen freezing while scrolling in GTK and EFL port. And it was because of the FontCachePurgePreventer. When the screen is updated, almost every time the browser calls FontCachePurgePreventer. FontCachePurgePreventer tries to purge the inactive fallback fonts. It's ok in pages written in alphabet (because it is under font cache limits), But it becomes overhead in pages written in CJK or none-alphabet. Actually it takes quite significant time to look inactive fonts up in hash table. So I simply suggest that FontCachePurgePreventer remains only in (FrameView::reset function). I will file a patch soon. Any advice will be welcomed.
Attachments
proposal patch
(3.06 KB, patch)
2012-02-12 09:36 PST
,
JungJik Lee
msaboff
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
JungJik Lee
Comment 1
2012-02-12 09:36:02 PST
Created
attachment 126677
[details]
proposal patch
Michael Saboff
Comment 2
2012-02-13 10:20:08 PST
Comment on
attachment 126677
[details]
proposal patch This timer is in the wrong direction. If you think you need more inactive fonts, I suggest that you add platform specific values for cMaxInactiveFontData and cTargetInactiveFontData in WebCore/platform/graphics/FontCache.cpp near lines 255-261. Adopting the CHROMIUM values may be sufficient.
JungJik Lee
Comment 3
2012-02-26 00:29:07 PST
(In reply to
comment #2
)
> (From update of
attachment 126677
[details]
) > This timer is in the wrong direction. If you think you need more inactive fonts, I suggest that you add platform specific values for cMaxInactiveFontData and cTargetInactiveFontData in WebCore/platform/graphics/FontCache.cpp near lines 255-261. Adopting the CHROMIUM values may be sufficient.
I've tested with CHROMIUM values, it occurs less then before. However it still show the similar symptom. So I am investigating freetype font on EFL/GTK. It happens in these site,
http://www.sina.com.cn
or
http://www.daum.net
. Anyway Thank you for attention.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug