"revelonshift" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello there. Is there somebody experienced in > high-perrformance-tweaking of SVG implementation in Mozilla? I did > almost everything I could think about for optimization, but still, my > Submarine close-to-finish game performs in Gecko based browsers the > worse. The best is of course ASV (taking rouhly about 30% os CPU), > second is Batik (taking in some actions 100% of CPU), then Opera (is > optically slower than Batik but takes maximally 70% of CPU => I don't > know why :-( ) and Mozilla/Firefox is the worst of them, reaching > 100% of CPU power very often. I tried use of cloneNode instead of > creating new one, without benefit, I tried use one complex gradient > instead of several simple ones, again no benefit. The only possible > way to speed things in Firefox up is disable almost everything and > reduce greatly number of elements. But I'm quite sure that there must > be something I'm still not aware of...
The biggest Mozilla speed improvement in scripting will be to not use getElementById() but to cache every single reference in a seperate variable of your own. currently mozilla re-looks up every node in the DOM for XML documents, and it's very, very slow. Jim. ----- 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/