Closed
Bug 504920
Opened 15 years ago
Closed 15 years ago
peacekeeper "complex graphics" measures much slower on windows than mac
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: sayrer, Assigned: jrmuizel)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
547 bytes,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
It's rare to have traced code show big slowdowns on different platforms. I'm blaming gfx until proven otherwise.
Comment 1•15 years ago
|
||
How does it compare on Linux? I'd expect Linux/Windows to be very comparable if it's gfx/pixman related.
Assignee | ||
Comment 2•15 years ago
|
||
"Complex graphics" is made up of two basic tests: ripples.js: - basically just does a bunch of fillRects() experimentalMovie.js: - draws an image - draw a bunch of slices of the image - draws a gradient mask on top() The first step will be figuring out which of these tests shows the difference between mac and windows. Rob, do you know a way to run these tests individually? How much of a difference did you see between the results?
Reporter | ||
Comment 3•15 years ago
|
||
http://hg.mozilla.org/users/mpalmgren_mozilla.com/peacekeeper/
(Guys, just run the tests and see for yourself -- Rob is hardly an unreliable source for this stuff!)
Reporter | ||
Updated•15 years ago
|
Blocks: peacekeeper
Assignee | ||
Comment 5•15 years ago
|
||
(In reply to comment #4) > (Guys, just run the tests and see for yourself -- Rob is hardly an unreliable > source for this stuff!) I didn't know of a way to run the individual tests until Rob's post 11min ago...
SOrry, yes, I misread your comment. I stand by my endorsement of Rob as a source, though! :-P
Any progress here? To whom should this bug be assigned?
Comment 8•15 years ago
|
||
No progress that I know of. If Jeff's interested in investigating it, it'd fall under his purview as the make-cairo-faster dude.
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → jmuizelaar
Assignee | ||
Comment 9•15 years ago
|
||
I had results comparing these test on windows vs. os x but my browser hung... Here's approximately what they were: Windows experimentalMovie 10ops experimentalRipple01 10ops experimentalRipple02 4ops OS X experimentalMovie 25ops experimentalRipple01 4ops experimentalRipple02 2ops So it looks like the difference is in experimentalMovie
Reporter | ||
Comment 10•15 years ago
|
||
Where did you hang? Any profile data? ------------------------------ 504920 status [www.mailtothefuture.org] https://bugzilla.mozilla.org/show_bug.cgi?id=504920 ---------- this is a message from the past. the message was sent on 2009.07.23 01:20:43. www.mailtothefuture.org
Assignee | ||
Comment 11•15 years ago
|
||
The hang was not on the machine running peacekeeper and was someplace in layout. Activity monitor hung on me after that, so I lost that data too. It looks like the reason this is slow on windows is because of surface migration. We are spending nearly half of the total cpu time in BitBlt. Presumably what's happening here is that the source image is DDB and we need to get it back (BitBlt) from the kernel when we want to use it as a source when drawing on the canvas.
Reporter | ||
Comment 12•15 years ago
|
||
Got a reminder on this today. Any progress? -------------------- https://bugzilla.mozilla.org/show_bug.cgi?id=504920 ---------- this is a message from the past. the message was sent on 2009.07.31 02:23:07. www.mailtothefuture.org
Comment 13•15 years ago
|
||
Jeff, this looks like one of those perf issues we should be pushing on. Is there any reason we aren't digging into this ASAP?
Assignee | ||
Comment 14•15 years ago
|
||
(In reply to comment #13) > Is there any reason we aren't digging into this ASAP? SIGGRAPH was the reason last week. However, it looks like this should've been fixed with 455513 but part of that patch never landed. I'll have a patch today.
Assignee | ||
Comment 15•15 years ago
|
||
Attachment #393776 -
Flags: review?(vladimir)
Assignee | ||
Comment 16•15 years ago
|
||
Comment on attachment 393776 [details] [diff] [review] Use SetCanConvertToDIB(PR_TRUE) when creating optimized image surfaces This patch is very similar to the original patch at bug 455513. However it sets SetCanConvertToDIB in Optimize instead of in Init though maybe it should be in Init too. This changes the performance of experimentalMovie to about 24ops which matches OS X
Comment on attachment 393776 [details] [diff] [review] Use SetCanConvertToDIB(PR_TRUE) when creating optimized image surfaces looks good, but send it to try server?
Attachment #393776 -
Flags: review?(vladimir) → review+
Reporter | ||
Comment 18•15 years ago
|
||
Comment on attachment 393776 [details] [diff] [review] Use SetCanConvertToDIB(PR_TRUE) when creating optimized image surfaces does this compile without warning?
Assignee | ||
Comment 19•15 years ago
|
||
A simplified version of the previous that avoids exporting the api to thebes and avoids any different bool type issues (even if they weren't causing warnings).
Attachment #393776 -
Attachment is obsolete: true
Attachment #393880 -
Flags: review?(vladimir)
Attachment #393880 -
Flags: review?(vladimir) → review+
Assignee | ||
Comment 20•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/ca46dd208b99 Also includes fix to the cairo patch so that the build doesn't break on winmo.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•