Closed Bug 324944 Opened 19 years ago Closed 10 years ago

Cairo (via SVG) on Mac painfully slow

Categories

(Core Graveyard :: GFX: Mac, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sfraser_bugs, Unassigned)

References

()

Details

(Keywords: perf)

Attachments

(2 files)

Google just put up some graphs using SVG, and one of those pages is painfully slow to render. It locks up Camino for tens of seconds while trying to resize the window.
This shows a stack where Camino was spending time while being unresponsive.
I don't see where bzero is called in _cairo_surface_composite_shape_fixup_unbounded() or in any of the functions that are called inside ? An easy optimization here would be to move the src_attr->extend comparison to the front of the if-statement, and also in _cairo_surface_composite_fixup_unbounded(). And _cairo_matrix_is_integer_translation() can also be made a little faster (move the first 4 parts of the big is_integer_translation-statement before the calls to _cairo_fixed_from_double(). Which was promised an easy optimization in http://lists.freedesktop.org/archives/cairo/2005-October/005423.html ...
Attached file sample from Firefox
Here's a sampling (taken using sample), from Firefox 1.5.0.1 Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20060131 Firefox/1.5 This is on a very slow 300 MHz laptop, using Mac OS X 10.2.8. This particular page takes 19 seconds to display !
Another reason that Cairo needs to be lightning-fast: http://ajaxsketch.com/
Assignee: joshmoz → general
Depends on: cairoperf
Blocks: cairoperf
No longer depends on: cairoperf
Blocks: 334721
No longer blocks: cairoperf
Not
No longer blocks: 334721
Isn't bug 324944 a dup of this?
(In reply to comment #6) > Isn't bug 324944 a dup of this? This *is* 324944. ;)
Sorry, I meant bug 334721.
http://www.peepo.co.uk Opera and ASV load quicker and are significantly more responsive for instance to onmouseover. Mac is slower than PC and camino is slower still see: https://bugzilla.mozilla.org/show_bug.cgi?id=328051
*** Bug 328051 has been marked as a duplicate of this bug. ***
Product: Core → Core Graveyard
Assignee: general → joshmoz
Assignee: joshmoz → nobody
This bug has been buried in the graveyard and has not been updated in over 5 years. It is probably safe to assume that it will never be fixed, so resolving as WONTFIX. [Mass-change filter: graveyard-wontfix-2014-09-24]
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: