Closed
Bug 389873
Opened 19 years ago
Closed 19 years ago
GTK accessibility make rendering of large file list pages slow, busy freezing all UI
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: kairo, Assigned: ginnchen+exoracle)
References
()
Details
(Keywords: hang, perf, regression)
Attachments
(1 file, 3 obsolete files)
|
3.13 KB,
patch
|
aaronlev
:
review+
damons
:
approval1.9+
|
Details | Diff | Splinter Review |
When in recent trunk builds accessibility started working again, I noticed that
| Reporter | ||
Comment 1•19 years ago
|
||
Oops, sorry for submitting too early - somehow I pressed Enter in the wrong place of the HTML form :(
I repeat:
When in recent trunk builds accessibility started working again, I noticed that loading of large file lists like on http://download.opensuse.org/distribution/10.2/repo/oss/suse/i586/ became very slow, enough for freezing all windows and tabs, making no UI in them paint any more, but still using almost 100% of one one of CPU cores.
This happens with my self-built SeaMonkey trunk, but also with Firefox nightlies, but only in recent builds that show "GTK Accessibility Module initialized" messages on console.
When I |export GNOME_ACCESSIBILITY=0| before launching the builds, they are suddenly very snappy again, not showing any sign of this slowdown.
| Reporter | ||
Comment 2•19 years ago
|
||
Oh, and it seems that once the page is in the cache (including bfcache probably), it doesn't block that much, sometimes even loads quite fast. going up one directory and then loading e.g. the ppc or x86_64 directories that are parallel to the i586 so, so that we have an uncached big page, slows down to a crawl again though, and switching to a different Window of the same process and back a few times ends up in making the process almos unusable, without any UI rendering.
Comment 3•19 years ago
|
||
Confirmed. That's pretty harsh. :-(
Updated•19 years ago
|
Assignee: aaronleventhal → ginn.chen
Comment 5•19 years ago
|
||
Looking at the jprof log in attachment 274412 [details], you can see that most of the time is spent under nsDocAccessible::ContentAppended and nsDocAccessible::FireTextChangedEventOnDOMNodeInserted, making this a regression from bug 371394.
Flags: blocking1.9?
I think it's a dupe of bug 378969 or depends on that bug.
do nothing while loading
Attachment #274580 -
Flags: review?(aaronleventhal)
Comment 8•19 years ago
|
||
(In reply to comment #7)
> Created an attachment (id=274580) [details]
> patch
>
> do nothing while loading
>
Ginn, I would suggest to add the check into each FireTextChangedEventXXX() method.
Like this?
I think we don't want InvalidateCacheSubtree, either.
Attachment #274583 -
Flags: review?(surkov.alexander)
| Assignee | ||
Comment 10•19 years ago
|
||
Attachment #274580 -
Attachment is obsolete: true
Attachment #274583 -
Attachment is obsolete: true
Attachment #274585 -
Flags: review?(aaronleventhal)
Attachment #274580 -
Flags: review?(aaronleventhal)
Attachment #274583 -
Flags: review?(surkov.alexander)
Comment 11•19 years ago
|
||
Comment on attachment 274585 [details] [diff] [review]
patch v2.5
Comments in IRC -- still need to call InvalidateSubtree().
Attachment #274585 -
Flags: review?(aaronleventhal) → review-
| Assignee | ||
Comment 12•19 years ago
|
||
Attachment #274585 -
Attachment is obsolete: true
Attachment #274602 -
Flags: review?(aaronleventhal)
Comment 13•19 years ago
|
||
Comment on attachment 274602 [details] [diff] [review]
patch v3
Don't forget tree is closed still :)
Attachment #274602 -
Flags: review?(aaronleventhal) → review+
| Assignee | ||
Comment 14•19 years ago
|
||
Comment on attachment 274602 [details] [diff] [review]
patch v3
hugh performance regression, low risk
Attachment #274602 -
Flags: approval1.9?
Updated•19 years ago
|
Attachment #274602 -
Flags: approval1.9? → approval1.9+
| Assignee | ||
Comment 15•19 years ago
|
||
Checking in src/base/nsDocAccessible.cpp;
/cvsroot/mozilla/accessible/src/base/nsDocAccessible.cpp,v <-- nsDocAccessible.cpp
new revision: 1.167; previous revision: 1.166
done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•