Closed
Bug 63530
Opened 24 years ago
Closed 23 years ago
Pages with large tables (?) nearly peg CPU
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: owen-mozilla, Assigned: attinasi)
References
()
Details
(Keywords: perf)
Attachments
(1 file)
415.56 KB,
text/html
|
Details |
From Bugzilla Helper: User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.17 i686) BuildID: 200122021 I've noticed that pages on the home theater forum use a lot of CPU power, close to pegged. For topics with few posts, the impact is minimal to none. For large topics however (like the URL I've posted), the CPU utilization quickly jumps. The page need not be scrolling or loading. It just sits there and chews cycles Reproducible: Always Steps to Reproduce: Open a HTF page that has lots of replies Actual Results: Watch CPU usage skyrocket. Expected Results: CPU usage shouldn't do that. I checked the source for <STYLE> tags, and didn't find anything. None of the other bugs with the word "CPU" in the summary seemed to apply.
Comment 1•24 years ago
|
||
Verified. Platform: PC OS: Linux 2.2.16 Mozilla Build: 2000121908 M18 Trunk Build Topped off at a cool 90.5% of CPU usage. Not sure its the tables though because i dont have a debug version. Anyone anyone?
Comment 2•24 years ago
|
||
Marking NEW to get someone to look at it.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: perf
A jprof profile shows lots of time spent in reflow and in image code. This seems like there's some sort of infinite loop between image loading and reflows. It doesn't happen every time I load the page, but most of them.
Reporter | ||
Comment 5•24 years ago
|
||
I think this is related to bug I remember seeing about animated gifs redrawing the whole page, or something like that. If I hit escape to stop animated gifs, the CPU usage immediately drops to nil again. If someone could find that original bug, this is probably a dupe.
Comment 6•24 years ago
|
||
Reassigning to myself.
Assignee: clayton → karnaze
Target Milestone: --- → mozilla0.9
Comment 7•24 years ago
|
||
Marc, based on Owen's comment, I'm reassigning to you, since you have a fix for part of the animated gif problem.
Assignee: karnaze → attinasi
Assignee | ||
Comment 8•24 years ago
|
||
Milestone shift --> Moz 0.8.1
Status: NEW → ASSIGNED
Target Milestone: mozilla0.9 → mozilla0.8.1
Assignee | ||
Comment 9•24 years ago
|
||
I have checked in the fix for the animated gif reflow problem (bug 69534) - Need to recheck this one...
Assignee | ||
Comment 10•24 years ago
|
||
BTW: the jprof looks a lot like bug 63750 - my guess is that this is the same problem that I tried to describe in that bug. In any case, it is going away as soon as the new imagelib lands.
Depends on: 63750
Assignee | ||
Comment 11•24 years ago
|
||
URL is no longer available. Does anybody have a cached copy or another URL to test?
Comment 12•24 years ago
|
||
I originally brought it up as part of (bug 61985), but http://dealnews.com/view.html?d2=7 seems to use lots of CPU during load. I'm not sure if it's definitely related to this bug.
Reporter | ||
Comment 13•24 years ago
|
||
most any lengthy thread on the Home Theater Forum exhibits this bug. Here are a few: http://www.hometheaterforum.com/uub/Forum14/HTML/036182.html, http://www.hometheaterforum.com/uub/Forum14/HTML/036101.html, http://www.hometheaterforum.com/uub/Forum9/HTML/004584.html Those were all randomly selected, and the first three I picked. I want to stress that pressing escape brings CPU time back to null. For this reason I still think it must be an animated gif issue. What else does pressing escape do once the page has loaded?
Assignee | ||
Comment 14•23 years ago
|
||
I'm seeing this behavior exactly. I wonder if it is because of the gifs as backgrounds... I have a patch for another bug (bug 63750) that may take care of this, I'll check it out.
Assignee | ||
Comment 15•23 years ago
|
||
The patch for bug 63750 makes this a LOT better, but there is still some CPU used until I press escape. I'll run jprof or quantify after 63750 is checked in to see what is left.
Assignee | ||
Comment 16•23 years ago
|
||
Hey Chris, wanna check this out since your table reflow improvements are in now?
Comment 17•23 years ago
|
||
The table changes have no impact after your patch for bug 63750. Breaking in the debugger with that patch never shows a reflow stack. Maybe Necko is spinning.
Assignee | ||
Comment 19•23 years ago
|
||
This is much better since bug 63750 has been fixed. I'll quantify and see what is using up the remaining 10% cpu on my NT box.
Assignee | ||
Comment 20•23 years ago
|
||
Moving off to Mozilla 0.9.1 since the vast majority of the performance problems have been resolved.
Target Milestone: mozilla0.9 → mozilla0.9.1
Assignee | ||
Comment 23•23 years ago
|
||
By mandate, moving non-crashers and non-dataloss bugs out
Target Milestone: mozilla0.9.2 → mozilla1.0
Comment 24•23 years ago
|
||
Ths page does not exist anymore.
Comment 25•23 years ago
|
||
Though I didn't file the original bug report, this url may be a suitable replacement: http://www.hometheaterforum.com/uub/Forum15/HTML/025905.html
Comment 26•23 years ago
|
||
worksforme 2001081703 win32 on win2k
Comment 27•23 years ago
|
||
They may have changed their page again - I see no animated backgrounds, not any other anims to speak of. CPU usage once loaded is nil. Someone needs to find another example of this if more investigation can occur.
Comment 28•23 years ago
|
||
Resolving as WFM
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Target Milestone: mozilla1.0 → Future
You need to log in
before you can comment on or make changes to this bug.
Description
•