[Insight-users] Speeding up the evaluation of the itk::Gaussian?
motes motes
mort.motes at gmail.com
Wed Sep 9 10:29:43 EDT 2009
Ok but how do I make a release build with cmake?
After chosing "Configure" the only thing related to "Release" is:
CMAKE_CXX_FLAGS_RELEASE /MD /O2 /Ob2 /D NDEBUG
I thought I could check it like "Examples" and "Testing".
On Wed, Sep 9, 2009 at 3:37 PM, John Drescher<drescherjm at gmail.com> wrote:
>> In Visual Studio you must select "Release" from the drop down box on
>> the toolbar to perform an optimized compilation. Using a "Release"
>> build can improve performance 10-200%.
>>
>
> In my testing with a debug versus release (under visual studio) it is
> much worse than that in debug mode. I mean for a 3D median filter of a
> CT volume of 512x512x384. In release mode this completes in less than
> 30 seconds. In debug mode it takes around 30 minutes.
>
> John
>
More information about the Insight-users
mailing list