[svg-developers] Re: Performance question

2005-10-06 Thread Andreas Neumann
Hi Julie, can you post an example to see how you structured the file? Also which SVG viewer did you try? Also on which OS did you try, with how much memory and CPU power available? But it might well be that 36000 circles are too much for the current SVG viewers. The currently existing viewers

[svg-developers] Re: Performance question

2005-10-06 Thread Jim Ley
jgfa92004 [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a svg file containing 36000 circles That's a lot of circles! on a 1024x768 they'd all have to have a radius of 2 pixels so you could see them all, at 2px radius, there's no way you could see they are circles. Do you

RE: [svg-developers] Re: Performance question

2005-10-06 Thread julie gautier
Thanks for your quick answer. In my svg file, I have first a javascript section that contains an array that have the same nb of lines (36000) Then here is a part of my svg file section where circles are drawn : svg x=5 y=5 width=600px height=550px viewBox=-98726 -98726 1238168 1134010 g rect

Re: [svg-developers] Re: Performance question

2005-10-06 Thread Andre M. Winter - Carto.net
hi julie, there is no real workaround. (trop c'est trop.) some possibilities although: - switch of anti-aliasing - try to render rectangles rather than circles. if they are that small that won't make any difference. i did some tests a year ago with randomly generated basic shapes. in order

Re: [svg-developers] Re: Performance question

2005-10-06 Thread julie gautier
What do you mean by switch of anti-aliasing ? Concerning your suggestion of create rectangles instead of circles, why not... I'll test it. I don't understand neither your last suggestion. What I do is to generate the file using Batik, so each circle is written inside a loop (creating the circle

Re: [svg-developers] Re: Performance question

2005-10-06 Thread Andre M. Winter - Carto.net
hi julie, What do you mean by switch of anti-aliasing ? check out http://www.w3.org/TR/SVG11/painting.html#ShapeRenderingProperty ASV supports that. Concerning your suggestion of create rectangles instead of circles, why not... I'll test it. I don't understand neither your last

[svg-developers] Re: Performance question

2005-10-06 Thread Andreas Neumann
Hi Julie, I still don't understand if you generate the circles in the client, using Javascript or on the server. In the first case, that might be one of the reasons why it is very slow. If you generate the circles on the server, than you can as well aggregate the circles. I had a similar

RE: [svg-developers] Re: Performance question

2005-10-06 Thread julie gautier
I create the circles on the server, so when the svg is displayed, the circles are already written in the file. But what you say is important because I was wondering if it could be faster if I'd create the circles by using a javascript function when loading the document... So the response seems

[svg-developers] Re: Performance question

2005-10-06 Thread Andreas Neumann
have you tried to load the file in Batik and see what part takes the longest? In Batik you get messages in the status line, telling when the file was loaded, when the scripts are parsed and when rendering starts. Is it the rendering that takes that long or the parsing of the file? If you use