Closed
Bug 636752
Opened 14 years ago
Closed 4 years ago
Javascript Galaxy Demo bad Performance
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: scoobidiver, Assigned: bas.schouten)
References
()
Details
(Keywords: reproducible)
The Javascript galaxy demo has a very bad performance in Fx 4.0b12 vs. other browsers:
* Firefox 4.0b12 : 0 fps
* Firefox 3.6 : 8 fps
* Chrome 11.0.672.2: 20 fps
It makes the browser slow responsive.
![]() |
||
Comment 1•14 years ago
|
||
On Mac, I see 10fps in Fx 3.6, and 20fps on trunk.
On the same hardware, Chrome 11 dev is 20fps.
So this doesn't sound like a js engine issue, since that would be cross-platform. Graphics is more likely. What sort of numbers do you see if you disable hardware acceleration?
Assignee: general → nobody
Component: JavaScript Engine → Graphics
QA Contact: general → thebes
Reporter | ||
Comment 2•14 years ago
|
||
In addition to comment 0:
* Firefox 4.0b12 w/o HW accel.: 12 fps
Summary: Javascript galaxy demo bad performance: Fx 4.0b12: 0 fps, Fx 3.6: 8 fps, Chrome 11: 20 fps → Javascript galaxy demo bad performance: Fx 4.0b12: 0 fps (HW accel.) 12 fps (w/o HW accel.), Fx 3.6: 8 fps, Chrome 11: 20 fps
![]() |
||
Comment 3•14 years ago
|
||
OK, so something is making hardware accel painful here... Wonder what.
Comment 4•14 years ago
|
||
Confirming on Win 7. Hardware acceleration on gives me 0-1 fps. Disabling HA gives me around 15-20 fps.
Reporter | ||
Updated•14 years ago
|
Keywords: reproducible
![]() |
||
Updated•14 years ago
|
Summary: Javascript galaxy demo bad performance: Fx 4.0b12: 0 fps (HW accel.) 12 fps (w/o HW accel.), Fx 3.6: 8 fps, Chrome 11: 20 fps → Javascript Galaxy Demo bad Performance
Assignee | ||
Comment 6•14 years ago
|
||
The reason for the slow performance is that this is using compiite operation source-over and composite operation lighter. Both aren't natively supported by Direct2D and we need to jump through a lot of hoops to make this work. This causes a lot of work and eventually causes us to slow down to a crawl.
I get 1fps on IE9 RC too. Maybe if it makes IE9 look bad enough they'll add the required operations in a future version of D2D.
This is slow on Linux x64 too, both with and without HW acceleration, so it is not D2D only.
Assignee | ||
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•