Closed
Bug 83395
Opened 24 years ago
Closed 9 years ago
[meta] Unix Mozilla (gtk port) makes too many slow X11 calls
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: dr, Unassigned)
References
Details
(Keywords: helpwanted, perf, topperf)
Mozilla using the gtk toolkit makes too many slow X11 calls. This contributes to
a very large UI slowdown when mozilla is run remotely, and noticeably sluggish
performance even when run locally on reasonable speed target machines.
Pavlov did some work in the past to reduce unnecessary X server roundtrips (see
bug 16710, for example) but there is still a decent amount of work to be done
here. This is a meta bug to track these issues.
Setting [ platform: All, OS: Linux ] as a close-enough approximation to "X
platforms."
Setting dependencies (incl. a bunch of old, closed bugs owned by Pavlov).
Comment 2•24 years ago
|
||
Adding helpwanted keyword. Although that probably applies more to the bugs we're
tracking...
Keywords: helpwanted
Comment 3•24 years ago
|
||
Here's one patch that I can probably make to get rid of one XSync() call and
replace it with an XFlush(). I think this is safe.
Index: gdksuperwin.c
===================================================================
RCS file: /cvsroot/mozilla/widget/src/gtksuperwin/gdksuperwin.c,v
retrieving revision 1.15
diff -u -r1.15 gdksuperwin.c
--- gdksuperwin.c 2000/07/28 04:32:22 1.15
+++ gdksuperwin.c 2001/05/31 18:10:54
@@ -432,7 +432,7 @@
}
/* sync so we get the windows moved now */
- XSync(GDK_DISPLAY(), False);
+ XFlush(GDK_DISPLAY());
}
void
Comment 5•24 years ago
|
||
Ignore my last comment. It just looks the same as what I suggested there.
Comment 6•24 years ago
|
||
Good tool for counting x-trafic is xmon. It shows call counts and can even
dump every request and response.
Xmon is available for ftp from:
ftp://ftp.x.org/contrib/devel_tools/
To run say in one window: ./xmonui | ./xmond
and on another: setenv DISPLAY localhost:1; ./mozilla
Tomi: Thank you *very* much for the pointer -- I'll have a look at that.
Comment 8•23 years ago
|
||
May God have mercy on us all. The 212 bug spam-o-rama is Now!
QA Contact: aegis → jrgm
[spam] dr@netscape.com's bugs subject to redistribution by chofmann. R!
Assignee: dr → chofmann
Status: ASSIGNED → NEW
Priority: P3 → --
Target Milestone: mozilla1.0 → ---
Comment 10•23 years ago
|
||
*** Bug 94661 has been marked as a duplicate of this bug. ***
Comment 11•23 years ago
|
||
Shaver says this goes to blizzard, as a reward for his patch.
Assignee: chofmann → blizzard
Updated•23 years ago
|
Keywords: mozilla1.0+
Comment 12•21 years ago
|
||
Is this actually a bug in GTK, not in Mozilla.
http://bugzilla.gnome.org/show_bug.cgi?id=94535
I tested some QT applications and some GTK applications over
remote X and the UI of the GTK applications was very sluggigh.
Does anyone remember whether the Mozilla's QT version was
faster than GTK (over remote X)?
Updated•10 years ago
|
Assignee: blizzard → nobody
QA Contact: jrgmorrison
See Also: → https://bugzilla.gnome.org/show_bug.cgi?id=94535
Comment 13•9 years ago
|
||
According to comment #12, this issue is an upstream bug and it has been RESOLVED/WONTFIX.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•