Andrea Aime ha scritto:
> History goes on,
> fixed the two above, rendering time is down to 40 seconds
> on java 1.4 and 6 seconds on java 1.5, which makes me think
> we're allocating too many objects ... investigating...

Oh well, I don't really know how to improve it more by quick
tricks, some deeper thougth is needed here.
What I can see, is that the worst offenders now are
Class.isInstance(xxx) in the Value class, Class.isAssignableFrom
in SimpleFeaturePropertyAccessorFactory, and the two togher
sum up to twice the time spent actually drawing with SunGraphics2D.draw 
(this is horrible).

An interesting note is that the same rendering code you
can get on the user mailing list now takes:
* 24 seconds on jdk 1.4
* 5.2 seconds on jdk 1.5
* 3.8 seconds on jdk 1.6

Well, at least Sun is helping here :-)
Cheers
Andrea

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to