MapWindow Developer Team : MapWindow Discussion Forum
Hello, I've made some experiments with build options (project properties of ocx). Here are results: Size of ocx: repository version 9.17 MB mine 7.53 MB speed of opening edit mode (15MB poly shapefile) re
Build options, speed and size of ocx
Posted by: Sergei ()
Date: August 06, 2009 07:40AM

Hello,

I've made some experiments with build options (project properties of ocx). Here are results:

Size of ocx:
repository version 9.17 MB
mine 7.53 MB

speed of opening edit mode (15MB poly shapefile)
repository version ~11sec;
my version ~7sec;

My version has no differences in code (only additional methods/properties - I'll commit them soon).
It seems that differences in speed affect all functions which deal with COM classes like CShape, CExtents. The problem - I'm not sure which options have effect on speed.

Options I changed (exactly):
Linker\General Enable Incremental linking YES->NO (size depends on this option)
C/C++\Optimization Optimization Disabled->Full Optimization
C/C++\Code Generation Enable C++ Exceptions Yes(/EHsc)->No (it's not acceptable for release build I expect)

There are other differences with current SVN version (in SVN diff) but I don't know whether they are significant or not. I have updated versions of support libraries and haven't deleted any dependencies.

It seems we should review options used for release builds.

Regards,
Sergei



Edited 1 time(s). Last edit at 08/06/2009 10:14AM by Sergei.

Options: ReplyQuote
Re: Build options, speed and size of ocx
Posted by: pmeems ()
Date: August 14, 2009 12:39AM

Sergei,

In the new Release RC3 your suggestions will be used, except the C++ Exceptions.

RC3 will hopefully be released later today.

--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group

Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.

---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS

Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl

*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn

Options: ReplyQuote


Sorry, only registered users may post in this forum.





Banner Exchange




GISCP.com




Send us your banner logo (160x120) for the space above, and add this MapWindow banner ad to your site:

Just paste this text in your page: