On 2/13/07 2:24 PM, TheMountainScene wrote:
> In a FF test I've created, a mouseover of Canada 364 Kb, it has improved 
> from 6 seconds to 2 seconds. 2 Seconds is still much too slow compared 
> to the Adobe viewer, but it is an improvement. I submitted this as a bug 
> some time ago. For my purposes, it still falls short, and given the 
> snail's pace anything svg is moving, I see flash in my future. I keep my 
> fingers crossed, but my optimism wanes with each passing day.

Assuming you're talking about the Canada map in bug 319990, the version 
you have online right now has a JS error.  Correcting that, removing the 
alert, and moving in/out right near the border (which defeats our 
early-reject hit detection), the major hotspots in the profile all 
appear inside the cairo 2D graphics library:

57.20% checking if a point is inside the path
   99.7% of this time is spent tesselating the path to trapezoids

14.83% painting paths
   99% of this time is spent tesselating the path to trapezoids

14.51% getting screen path extent
   99.9% of this time is spend tesselating the path to trapezoids
   The reason this appears in the profile is because the style change
   information Gecko gives us is a general "things changed" rather than
   detail which would let us realize that only the fill changed and the
   extent didn't need to be recalculated.

It seems that if cairo improved their point-in-path functionality using 
one of the techniques that doesn't need a whole trapezoid list, things 
would be a fair bit faster.

Changing the style system to give detailed information is a larger scope 
item, though maybe something gecko would want to do as it could help 
other sorts of content.

It does seem as though this map is a bit of a torture case for cairo's 
tesselator - I've passed on the URL to the cairo developers.

-tor


-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to