Open
Bug 304683
Opened 19 years ago
Updated 2 years ago
firefox struggles with large doxygen html file
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
NEW
People
(Reporter: nikolaymetchev, Unassigned)
References
(Depends on 2 open bugs)
Details
(Keywords: perf)
Attachments
(2 files, 2 obsolete files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
With the latest version of doxygen (1.4.4) if you have a lot of source code the
resulting html that gets produced makes firefox struggle. IE seems to render the
tree view much quicker. I do not havea a url that reproduces the bug but I will
attach an example html file
Reproducible: Always
Steps to Reproduce:
1.Open attached HTML file and observer how slowly it renders in firefox
Actual Results:
Firefox too about 10 minutes to render the page
Expected Results:
Displayed it quicker
Updated•19 years ago
|
Comment 3•19 years ago
|
||
Nikolay, could you possibly attach as a zip file so I can get to it on a
non-Windows system? If bugzilla won't let you attach it, you can just email it
to bzbarsky@mit.edu (please mention this bug's number in the message subject).
Comment 4•19 years ago
|
||
Updated•19 years ago
|
Attachment #192825 -
Attachment is patch: false
Attachment #192825 -
Attachment mime type: text/plain → application/zip
Comment 5•19 years ago
|
||
Updated•19 years ago
|
Attachment #192720 -
Attachment is obsolete: true
Attachment #192721 -
Attachment is obsolete: true
Updated•19 years ago
|
Attachment #192834 -
Attachment is patch: false
Attachment #192834 -
Attachment mime type: text/plain → application/zip
Comment 6•19 years ago
|
||
I'll file some bugs blocking this one on the few issues in that profile that I
can fix myself, but here's what things look like: The page is 18 megabytes of
HTML, almost all of it links and images. The same several images are used over
and over again. The profile breaks down as:
Total hit count: 1498127
Of this 1307724 is under CNavDTD::HandleStartToken
Of this 1175447 is under HTMLContentSink::AddLeaf
Of this 180133 is under HTMLContentSink::AddAttributes
and 968168 is under nsGenericElement::AppendChildTo
HTMLContentSink::AddAttributes breaks up as:
90690 nsHTMLImageElement::SetAttr
27965 CopyUTF16toUTF8
22502 NS_NewAtom
10327 nsHTMLAnchorElement::SetAttr
5458 nsContentUtils::TrimCharsInSet
nsGenericElement::AppendChildTo breaks up as:
575019 nsContentUtils::LoadImage
152904 nsImageLoadingContent::StringToURI
144782 nsContentUtils::CanLoadImage
17249 nsCOMPtr_base::~nsCOMPtr_base()
And imgLoader::LoadImage (called from nsContentUtils::LoadImage) has 564152 hits
under it (30+% of the total!) and breaks down as:
234846 imgCache::Get
147614 imgRequest::NotifyProxyListener
83980 imgRequestProxy::AddToLoadGroup
22921 imgLoader::CreateNewProxyForRequest
22382 nsEventQueueServiceImpl::ResolveEventQueue
16878 nsCOMPtr_base::assign_from_gs_contractid_with_error
14193 nsCOMPtr_base::~nsCOMPtr_base
imgCache::Get breaks down as:
78728 nsStandardURL::GetFile
72203 nsCacheSession::OpenCacheEntry
41748 nsLocalFile::GetLastModifiedTime
5928 nsStandardURL::GetAsciiSpec
5892 nsCOMPtr_base::~nsCOMPtr_base
3167 nsCacheEntryDescriptor::GetCacheElement
3027 GetCacheSession
2428 nsCOMPtr_base::assign_from_qi
2291 gettimeofday
So it looks like anything we can do to make the imglib part of this be not quite
so slow would be a nice win...
Component: General → Layout
OS: Windows XP → All
Product: Firefox → Core
Hardware: PC → All
Version: unspecified → Trunk
Comment 7•19 years ago
|
||
Do you have the breakdown for
147614 imgRequest::NotifyProxyListener
as well? Presumably the people that is calling are taking their time as well.
Comment 8•19 years ago
|
||
That breaks down as:
72217 imgRequestProxy::OnStopDecode
59871 imgRequestProxy::OnStopRequest
1894 imgRequestProxy::OnStartDecode
OnStopDecode is almost all taken up by nsImageLoadingContent::FireEvent (firing
the onload event). About half of that is just getting the event queue to stick
the PLEvent into. :(
OnStopRequest is almost all in nsLoadGroup::RemoveRequest which involves sending
progress notifications, etc, etc.
I have tried opening the same page on firefox 1.5 which has just come out and it seems to me that things have gotten worse. I had to kill firefox after 15 minutes of 100% CPU usage and no progress.
Updated•19 years ago
|
QA Contact: general → layout
Comment 10•15 years ago
|
||
I can confirm that the bug is still there - it still loads very very slowly (several minutes at least) for Firefox 3.5 RC1 .
Comment 11•15 years ago
|
||
It's really not worth retesting until the bugs blocking this are fixed...
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•