Pete, This shouldn't be any surprise. Performance observations using non-optimized (debug) builds do not make much sense. Debug builds are for debugging but not for benchmarking.
Cheers Pete Gerritson wrote: > I've noticed some large performance differences between debug and > release builds using VC 8.0 when stl containers are used (not > specifically with geos, but in general). I believe iterator debugging > is enabled by default in debug builds. See > http://msdn2.microsoft.com/en-us/library/Aa985939(VS.80).aspx for more > info. You might try turning this off and see what effect it has. > > Pete > > ----- Original Message ----- From: "Fabian Hohmuth" > <[EMAIL PROTECTED]> > To: "GEOS Development List" <geos-devel@geos.refractions.net> > Sent: Thursday, October 11, 2007 2:41 PM > Subject: [geos-devel] speed difference between release and debug builds > > >> Hi all, >> >> we're using GEOS via the C API under Windows (doing unions on a number >> of complex polygons) and noticed that there is a major (3x) speed >> difference between the Release and Debug builds. I somehow can't >> believe that the compiler optimization is that good. The defined >> preprocessor symbols are the same between the two configurations. Any >> hints where this could come from? >> >> Thanks, >> - Fabian -- Mateusz Loskot http://mateusz.loskot.net _______________________________________________ geos-devel mailing list geos-devel@geos.refractions.net http://geos.refractions.net/mailman/listinfo/geos-devel