Closed
Bug 381358
Opened 18 years ago
Closed 14 years ago
performance regression with XUL and XHTML
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: daniel, Unassigned)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
1.97 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.9a5pre) Gecko/20070520
I've created a simple page using both XUL and XHTML elements. I've added some hover effects with CSS.
The performance is acceptable with Firefox 2.0.0.3 but very slow with current XULRunner nightlies. I've created a testcase
http://www.birgin.de/test/bugzilla/welcome/welcome.xul
Hover over the yellow buttons and the text below. The hover effect is delayed by nearly half a second on a 2,2 Ghz AMD winXP machine!
Reproducible: Always
Reporter | ||
Updated•18 years ago
|
Version: unspecified → Trunk
Comment 1•18 years ago
|
||
dito on Mac:
------------
fast hover with ancient:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414
snail hover with actual nightly:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a5pre) Gecko/20070526 SeaMonkey/1.5a
So there is somewhere a platform independent performance relevant regression.
Comment 2•18 years ago
|
||
As I said in the newsgroup, it would be helpful to figure out the regression window. Also, it might help to have a minimized testcase (preferably as a bugzilla attachment, since otherwise there's a chance the testcase will be gone by the time someone will need it).
Keywords: regression
Summary: Performance XUL and XHTML → performance regression with XUL and XHTML
Comment 3•18 years ago
|
||
BTW, are you testing trunk and 2.0.0.x on the same machine? Sometimes there are hardware-dependent gfx bugs - f.e. the testcase is very slow even here on a 2.0.0.3 build (WinXP, athlon 1.47Ghz, Matrox Millenium G450 display adapter).
Comment 4•18 years ago
|
||
The Mac tests are done on the same machine and the Windows tests of Daniel are made on an other machine but both test on the same other machine.
Comment 5•15 years ago
|
||
I didn't see any observable performance problems using the latest trunk. Can you provide a better testcase?
Keywords: testcase-wanted
Reporter | ||
Comment 6•15 years ago
|
||
I can still reproduce the problem with the latest trunk nightly although performance is much better compared to the current 3.6 release and the delay is very low now.
The problem seems to be caused by a stretched image beeing positioned behind elements that change their font-weight on hover.
The bug seems not to be related to XUL as a testcase provides similar results in html only.
Reporter | ||
Comment 7•15 years ago
|
||
The testcase shows the problem when hovering over the elements on the left. They are highlighted with a short delay. The elements on the right highlight immidiately. The difference is, that they don't change their font size.
The delay is hard to see with the latest trunk on a fast machine but is still recognizable.
Comment 8•15 years ago
|
||
Maybe Jeff can help us here?
Comment 9•15 years ago
|
||
When we hover over the bolding items, we reinvalidate the entire page. Presumably the scaled image makes this slow. On OS X we also seem to be rescaling the image each time as well. We can probably do better...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 10•15 years ago
|
||
The regression range seems to be:
2007-01-27 works
2007-01-28 shows delay
Tested with the trunk nightlies
Comment 11•14 years ago
|
||
This isn't slow for me any more, perhaps due to layers? My CPU isn't even 2.2GHz!
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 12•14 years ago
|
||
Yes, seems to work again. Thanks for the update!
Updated•9 years ago
|
Keywords: testcase-wanted
You need to log in
before you can comment on or make changes to this bug.
Description
•