[josm-dev] Mappaint performance analysis ...

Frederik Ramm frederik at remote.org
Sat Jan 31 00:19:12 GMT 2009


Hi,

Ulf Lamping wrote:
> 4) 4,1s (without icons         -> ~ 100ms)
> 5) 1,5s (without using strokes -> ~2600ms)
> 
> Disabling nr. 5 (which means only 1 pixel width, no dashed lines, ...)
> has - by far - the biggest performance impact!

Told you so ;-)

We definitely need to keep some kind of "wireframe mode" that makes use 
of this. However It would be great if we could create wireframe mode as 
a mappaint style. I believe that currently even if the style requests a 
simple 1 pixel non-dashed line, mappaint will create a stroke object and 
incur the above speed penalty, right?

Now if mappaint could be improved to recognize this condition and drop 
the stroke creation, then the super-fast wireframe mode could be used 
from within the mappaint mechanism, right?

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"




More information about the josm-dev mailing list