Andrea Aime ha scritto:
> Andrea Aime ha scritto:

> 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

I just backported one of the changes to 2.3.x, since also
2.3.x was affected by the "compute a float using tostrings
and parse" and by heavy hashcodes computations, and run
the same example on it. Results:

* 23.047 seconds on jdk 1.4
* 4.297 seconds on jdk 1.5 (it's 1.5.0_09 btw)
* 3.094 seconds on jdk 1.6

So, around 20% slower on modern jdk, not significantly slower
on the more ancient 1.4 (btw, we should really warn people
against using 1.4 in production).

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