Closed
Bug 77938
Opened 24 years ago
Closed 16 years ago
investigate nsTextFrame::ComputeWordFragmentWidth() implementation
Categories
(Core :: Layout: Text and Fonts, defect, P4)
Core
Layout: Text and Fonts
Tracking
()
RESOLVED
WONTFIX
Future
People
(Reporter: waterson, Assigned: waterson)
References
Details
(Keywords: perf)
Text measurement is a major component of the time (e.g., 1/3) spent laying out
long pages (cf. bug 56854). Although much of it is spent in the toolkit,
nsTextFrame::ComputeWordFragmentWidth() accounts for a significant amount
(typically 1/4) of text measurement time. Analysis done in bug 56854 did not
dive into this method. Logging a task to do so.
Assignee | ||
Updated•24 years ago
|
Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.2 → mozilla1.0
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla0.9.6
Comment 1•23 years ago
|
||
A lot has happened since April. Is this still
a big-hitter?
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Assignee | ||
Comment 2•23 years ago
|
||
I'm futuring this bug because I'm not going to get to it before mozilla-1.0.
Target Milestone: mozilla0.9.7 → Future
Comment 3•23 years ago
|
||
Comments from bug 116437, which is about a 24MB file taking forever to layout.
The jprof is at http://bugzilla.mozilla.org/showattachment.cgi?attach_id=65191
The jprof might be helpful in deciding if this is still an issue.
Typical:
Mostly Reflowing lines:
12% direct (90% total) in ReflowDirtyLines()
4% total in nsFontCache::GetMetricsFor()
6% direct in nsBlockReflowState::RecoverStateFrom()
2% direct in nsBlockFrame::PropagateFloaterDamage()
3% total in nsFrame::Invalidate()
10% direct in nsLineBox::GetCombinedArea()
4% direct, 13% total in nsBlockFrame::ComputeFinalSize()
6% direct in nsBlockFrame::BuildFloaterList()
8% total in nsBlockFrame::PlaceLine()
1.5% total in nsCSSRendering::FindBackground
3% total in nsHTMLReflowState::nsHTMLReflowState
5% direct in nsFrameList::LastChild
10% total in nsRenderingContextGTK::GetTextDimensions()
Updated•22 years ago
|
OS: Windows 2000 → All
Hardware: PC → All
Updated•22 years ago
|
Component: Layout → Layout: Fonts and Text
Updated•16 years ago
|
QA Contact: chrispetersen → layout.fonts-and-text
Comment 4•16 years ago
|
||
Source file no longer exists.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•