Hi,
today I took some time to evaluate how much slower
the new feature model is, compared to the old one.

I did run a couple of simple wms rendering tests against
a 400MB roads shapefile, and against the same layer
in postgis.

Here are the results:
GeoServer 1.6.x, shapefile: 4 seconds
GeoServer 1.6.x, postgis: 46 seconds

GeoServer trunk, shapefile: 7 seconds
GeoServer trunk, postgis  : 78 seconds

Well, besides the fact the postgis is not really
recommendable if you want to render a huge
layer at once (instead of accessing small parts of
it or doing attribute filters on it), the conclusion
we can draw is that rendering got almost twice as
slow.

Profiling confirms all the extra time is spent
in the SimpleFeatureBuilder. Optimizations aren't
obvious either, I just tried a couple of obvious
improments and the result is that the postgis
rendering time went down from 78 to 72 seconds...
It seems recovering from this hit will require
some time and dedication.

Cheers
Andrea

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to