Performance and Resource Usage

The first time a Winform is shown in the Debugger it performs JIT (Just-In-Time) compilation of the components being debugged (and other required components). Also, Debugger interprets the model such that it can pick up changes and validation is done during a debug session. These actions dictate the performance. Consequently, the performance of the segment during a debug session is not an indicator of the performance of the deployed application. Runtime performance should generally be much better, as it is executing compiled native code.

Memory requirements during a debug session vary, as memory is dynamically allocated as objects are accessed. Allocated memory is not released until the segment caller no longer requires the owning object. Therefore although initial memory requirements are relatively small, the memory requirements might grow to become quite significant, especially for debug sessions accessing many parts of a large segment.