Faisal, 
 relative stroking is supposed to process faster. If you suffer from 
performance problems you're dealing with complex drawings-  
guessing. In general, since the parsed dom eats up your machines 
ram, any optimization that reduces your drawings dom memory 
footprint might be worth thinking twice. Adjusting the coordinate 
representation to a reasonable resolution is easy. Relative stroking 
throughout the entire drawing should give you smaller numbers too. 
Play around with grouping and inheritance for styling: redundant 
info that gets stripped from the file won't squat in a mem;-)

Btw: crispEdges AND optimizeSpeed: it's one or the other

Regards

Paul

--- In [email protected], Faisal Javeed <[EMAIL PROTECTED]> 
wrote:
> I added crispEdges and optimizeSpeed  to the polyline and the 
result was 
> that time to display around 5000 points was reduced to a fraction 
of a 
> second from 4 - 5 seconds.
> About the last point you mentioned
>  
>   -don't use polylines, use paths with relative stroking (lower 
case 
>         letter path commands)
> 
> Is path faster and also if i use relative (i.e. Lower case letter 
commands 
> like M 10 10 l 20 30 l 30 20) coordinates will it make the 
rendering even 
> more fast ???.
> 
> 
> Regards
> Faisal Javeed
> INTECH Process Automation Pvt. Ltd.
> 119-B Tech Society Lahore-54590, Pakistan
> Cell:      03334241582
> Voice:   +92 42 5427001 (3 lines)
> Fax:      +92 42 5411724
> Web:     www.intechww.com
> 
> 
> 
> "welkerpaul" <[EMAIL PROTECTED]> 
> 02/02/2005 06:52 PM
> Please respond to
> [email protected]
> 
> 
> To
> [email protected]
> cc
> 
> Subject
> [svg-developers] Re: Performance problem while setAttribute
("points") on 
> polyline
> 
> 
> 
> 
> 
> You're right,
>   the asv rendering engine is dead slow. Try to lower demands on 
> viewer:
> 
>   -set xxx-rendering="optimizeSpeed", at least shape-
> rendering="crispEdges" (probably you'll know already;-)
>  
> -asv antialiasing is very expensive, set defaultAntialias="false", 
> or use .setDefaultAntialias(false) while updating dom and revert 
> to .setDefaultAntialias(true) when finished
> 
>   -don't use classes for styling, inline attribs should process 
> faster (nasty adice;-)
> 
>   -don't use polylines, use paths with relative stroking (lower 
case 
> letter path commands)
> 
> 
> 
> hth
> 
> Paul
> --- In [email protected], Faisal Javeed 
<[EMAIL PROTECTED]> 
> wrote:
> > I have a polyline and i have made a string of the format 
> > x,y x,y x,y .....
> > this is quite a long string having a larger number of 
coordinates. 
> Now 
> > when i call setAttribute on the points attribute of polyline and 
> give this 
> > string, the processor takes up to 10 seconds and after 10 
seconds 
> the 
> > polyline can be seen on the screen. (looks like svg plug-in 
takes 
> 10 
> > seconds to render such a large polyline)
> > Is there anyway to make this any faster.
> > 
> > I am using a p4 with 512 Mb of ram and IE 6.0 with ASV 3.01.
> > 
> > Regards
> > 
> > [Non-text portions of this message have been removed]
> 
> 
> 
> 
> 
> -----
> 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/
>  
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>  
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service. 
> 
> 
> [Non-text portions of this message have been removed]





-----
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/

<*> 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