<br>John,<br><br>Is this a typo in your message ?<br><br>I presume you meant:<br><br> "release mode is much better than debug mode"<br><br><br>(speed-wise).<br><br><br> Luis<br><br><br>--------------------------------------------------------------<br>
<div class="gmail_quote">On Wed, Sep 9, 2009 at 9:37 AM, John Drescher <span dir="ltr"><<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">> In Visual Studio you must select "Release" from the drop down box on<br>
> the toolbar to perform an optimized compilation. Using a "Release"<br>
> build can improve performance 10-200%.<br>
><br>
<br>
</div>In my testing with a debug versus release (under visual studio) it is<br>
much worse than that in debug mode. I mean for a 3D median filter of a<br>
CT volume of 512x512x384. In release mode this completes in less than<br>
30 seconds. In debug mode it takes around 30 minutes.<br>
<font color="#888888"><br>
John<br>
</font><div><div></div><div class="h5">_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br>