<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"><base href="x-msg://1269/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">What is the timing with 1,2 and 4 threads?<div><br></div><div>Brad</div><div><br><div><div>On May 16, 2013, at 5:16 AM, Arikan Mustafa &lt;<a href="mailto:Mustafa.Arikan@fh-wels.at">Mustafa.Arikan@fh-wels.at</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="DE" link="blue" vlink="purple" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="WordSection1" style="page: WordSection1; "><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Hello Bradley,<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">yes the Min and Max is set this way:<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; color: blue; ">typedef</span><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; "><span class="Apple-converted-space">&nbsp;</span>itk::Statistics::ImageToHistogramFilter&lt; InputImageType &gt; ImageToHistogramFilterType;<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ImageToHistogramFilterType::HistogramType::MeasurementVectorType lowerBound(numberOfBins);<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lowerBound.Fill(min);<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ImageToHistogramFilterType::HistogramType::MeasurementVectorType upperBound(numberOfBins);<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; upperBound.Fill(max) ;<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ImageToHistogramFilterType::HistogramType::SizeType size(1);<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; size.Fill(numberOfBins);<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ImageToHistogramFilterType::Pointer imageToHistogramFilter = ImageToHistogramFilterType::New();<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; imageToHistogramFilter-&gt;SetInput(image);<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; imageToHistogramFilter-&gt;SetHistogramBinMinimum(lowerBound);<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; imageToHistogramFilter-&gt;SetHistogramBinMaximum(upperBound);<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9.5pt; font-family: Consolas; ">imageToHistogramFilter-&gt;SetHistogramSize(size);<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">And i looked at the task manager, and all 4 threads seem to work.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</span></div><div><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(181, 196, 223); padding: 3pt 0cm 0cm; "><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">Von:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><span class="Apple-converted-space">&nbsp;</span>Bradley Lowekamp [mailto:blowekamp@<a href="http://mail.nih.gov">mail.nih.gov</a>]<span class="Apple-converted-space">&nbsp;</span><br><b>Gesendet:</b><span class="Apple-converted-space">&nbsp;</span>Mittwoch, 15. Mai 2013 19:21<br><b>An:</b><span class="Apple-converted-space">&nbsp;</span>Arikan Mustafa<br><b>Cc:</b><span class="Apple-converted-space">&nbsp;</span><a href="mailto:insight-users@itk.org">insight-users@itk.org</a> Users<br><b>Betreff:</b><span class="Apple-converted-space">&nbsp;</span>Re: [Insight-users] Histogram calculation performance between ScalarImageToHistogramGenerator, ImageToHistogramFilter and vtkImageAccumulate<o:p></o:p></span></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p>&nbsp;</o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">Hello,<o:p></o:p></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p>&nbsp;</o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">Are you manually setting the MinMax for the ImageToHistogramFilter?<o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p>&nbsp;</o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">Have you looked at threading?<o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p>&nbsp;</o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">How do these methods scale as the number of threads increase? You can just set the environment variable ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS for ITK. I am wondering if there is a concurrency issue in&nbsp;<o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">ITK.<o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p>&nbsp;</o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p>&nbsp;</o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">Brad<o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p>&nbsp;</o:p></div><div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">On May 15, 2013, at 12:50 PM, Arikan Mustafa &lt;<a href="mailto:Mustafa.Arikan@fh-wels.at" style="color: purple; text-decoration: underline; ">Mustafa.Arikan@fh-wels.at</a>&gt; wrote:<o:p></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><br><br><o:p></o:p></div><div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-family: Calibri, sans-serif; ">Thanks for the quick response.</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-family: Calibri, sans-serif; ">&nbsp;</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-family: Calibri, sans-serif; ">This is done in release mode. Like this:</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-family: Calibri, sans-serif; ">&nbsp;</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span><span style="color: blue; ">int</span><span class="apple-converted-space">&nbsp;</span>nTimeStart = GetMilliCount();</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; imageAccumulate-&gt;Update();</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><span style="font-size: 9.5pt; font-family: Consolas; color: blue; ">int</span><span class="apple-converted-space"><span style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;</span></span><span style="font-size: 9.5pt; font-family: Consolas; ">nTimeElapsed = GetMilliSpan( nTimeStart );</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; …</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; color: blue; ">int</span><span class="apple-converted-space"><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;</span></span><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">nTimeStart2 = GetMilliCount();</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; imageToHistogramFilter-&gt;Update();</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span><span style="color: blue; ">int</span><span class="apple-converted-space">&nbsp;</span>nTimeElapsed2 = GetMilliSpan( nTimeStart2 );</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; …</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; color: blue; ">int</span><span class="apple-converted-space"><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;</span></span><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">nTimeStart3 = GetMilliCount();</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scalarImageToHistogramGenerator-&gt;Compute();</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><span style="font-size: 9.5pt; font-family: Consolas; color: blue; ">int</span><span class="apple-converted-space"><span style="font-size: 9.5pt; font-family: Consolas; ">&nbsp;</span></span><span style="font-size: 9.5pt; font-family: Consolas; ">nTimeElapsed3 = GetMilliSpan( nTimeStart3 );</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(181, 196, 223); padding: 3pt 0cm 0cm; "><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">Von:</span></b><span class="apple-converted-space"><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">&nbsp;</span></span><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">David Cole [mailto:dlrdave@<a href="http://aol.com" style="color: purple; text-decoration: underline; "><span style="color: purple; ">aol.com</span></a>]<span class="apple-converted-space">&nbsp;</span><br><b>Gesendet:</b><span class="apple-converted-space">&nbsp;</span>Mittwoch, 15. Mai 2013 17:31<br><b>An:</b><span class="apple-converted-space">&nbsp;</span><a href="mailto:insight-users@itk.org" style="color: purple; text-decoration: underline; "><span style="color: purple; ">insight-users@itk.org</span></a>; Arikan Mustafa<br><b>Betreff:</b><span class="apple-converted-space">&nbsp;</span>Re: [Insight-users] Histogram calculation performance between ScalarImageToHistogramGenerator, ImageToHistogramFilter and vtkImageAccumulate</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">&nbsp;<o:p></o:p></span></div></div><div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; ">Is this on Windows, with a Debug build using the Microsoft compiler?</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; ">&nbsp;</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; ">If so, re-do the timings with a Release build.</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; ">&nbsp;</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; ">The Debug memory allocator has serious performance issues because of the tracking of allocations that they do in the runtime. Release builds are frequently 100x faster in scenarios with lots of small allocations.</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; ">&nbsp;</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; ">If this is not MS Debug build on Windows, then just delete this message...<span class="apple-converted-space">&nbsp;</span></span><span style="font-family: 'Segoe UI Symbol', sans-serif; ">😊</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; ">&nbsp;</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; ">&nbsp;</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; ">D</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; ">&nbsp;</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 13.5pt; font-family: Helvetica, sans-serif; ">_____________________________________<br>Powered by<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; "><a href="http://www.kitware.com" style="color: purple; text-decoration: underline; "><span lang="EN-US">www.kitware.com</span></a></span><span lang="EN-US" style="font-size: 13.5pt; font-family: Helvetica, sans-serif; "><br><br>Visit other Kitware open-source projects at<br></span><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; "><a href="http://www.kitware.com/opensource/opensource.html" style="color: purple; text-decoration: underline; "><span lang="EN-US">http://www.kitware.com/opensource/opensource.html</span></a></span><span lang="EN-US" style="font-size: 13.5pt; font-family: Helvetica, sans-serif; "><br><br>Kitware offers ITK Training Courses, for more information visit:<br></span><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; "><a href="http://www.kitware.com/products/protraining.php" style="color: purple; text-decoration: underline; "><span lang="EN-US">http://www.kitware.com/products/protraining.php</span></a></span><span lang="EN-US" style="font-size: 13.5pt; font-family: Helvetica, sans-serif; "><br><br>Please keep messages on-topic and check the ITK FAQ at:<br></span><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; "><a href="http://www.itk.org/Wiki/ITK_FAQ" style="color: purple; text-decoration: underline; "><span lang="EN-US">http://www.itk.org/Wiki/ITK_FAQ</span></a></span><span lang="EN-US" style="font-size: 13.5pt; font-family: Helvetica, sans-serif; "><br><br>Follow this link to subscribe/unsubscribe:<br></span><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; "><a href="http://www.itk.org/mailman/listinfo/insight-users" style="color: purple; text-decoration: underline; "><span lang="EN-US">http://www.itk.org/mailman/listinfo/insight-users</span></a></span><span lang="EN-US" style="font-size: 13.5pt; font-family: Helvetica, sans-serif; "><o:p></o:p></span></div></div></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US"></span></p></div></div></div></blockquote></div><br></div></body></html>