Hi,

I guess you are working on Windows to have such big differences between Debug 
and Release configurations? With Visual Studio 2017 you can use the profiling 
tools to easily get an idea of where the time is spent. Such huge differences 
between debug and release configurations usually means that there is a lot of 
random memory access going which is encapsualated in debug configuration by 
expensive checks. There might be a compiler setting to disable these checks and 
gain some speed.


Best,

Stefan

________________________________
Von: Bertram Sabrowsky-Hirsch <[email protected]>
Gesendet: Montag, 12. März 2018 12:00
An: [email protected]
Betreff: [mitk-users] Volume Rendering Plugin initialization very slow in Debug 
configuration

Hi,

I am working on an Aneurysm Simulation Plugin relying on the Volume Rendering 
Plugin for 3D Rendering of some steps. For that I just set the volume rendering 
property of my Image data node.
It is working both in the Release and the Debug Configuration, however the 
Debug configuration has an awful initialization lag/freeze (I suppose from the 
Mapper Initialization) of more than 90 seconds after I set the flag. Its 
independent of the size of the Image data and will only occur the first time in 
one execution run, subsequently setting the property for different nodes runs 
smoothly. In the release configuration there is a lag but that lasts only for 
less than 2 seconds. I'm working with MITK 2016.11.99-974bf5ad.

Does anyone experience the same issue? I thought about using RelWithDebInfo but 
failed to build MITK for that configuration. The lag is quite frustrating and I 
now tend to avoid using the Debug configuration. Any advice would be much 
appreciated.

Thank you very much in advance.

Kind regards,

Bertram
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to