Dear Chris,
only if you had sent me your laptop I could make measurements on it. The
problem can be coursed by different operational system, different java
version an so on. So I only can encourage you to profile yourself.
Yourkit works like a charm, it is a great pleasure to use it.
Regards,
Dimitry
> Dear Dimitry,
>
> with good old by hand profiling (using System.currentTimeMillis to
> measure the time java spends inside paint in MapView) like in 0.8.1:
> public void paint(Graphics g) {
> long startMilli = System.currentTimeMillis();
> super.paint(g);
> logger.info("End paint in
> "+(System.currentTimeMillis()-startMilli));
> }
> and similar in 0.9.0Beta20, starting the app and moving the map around
> for some seconds, I got the following mean times inside paint as follows:
>
> 0.9.0 wtih Link 0.9.0 without Link 0.8.1
> 361,07 328,77 70,29
>
> I tried to remove the LinkRegistryAdapter function, you suspected to
> cause a lot of time.
> We see, that in average, it only increases the time by 10%.
> But it is still nearly factor 5 slower than in 0.8.1.
> You are lucky that your computer is sufficiently fast, but on my poor
> laptop, this is *very* obvious, that 0.9 is much slower.
> I thought, that you perhaps can find the cause behind this.
>
> Thanks for your attention,
>
> Chris
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freemind-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freemind-developer
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freemind-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemind-developer