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

Attachment: 080827_Paint_Profiling.ods
Description: application/vnd.oasis.opendocument.spreadsheet

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

Reply via email to