www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.debugger - [ddbg] loading time

reply Frank Benoit <keinfarbton googlemail.com> writes:
Hi

When i load a jface application, that can take a while. About 10-30 sec.
I wonder if that can be optimized?
If not allready done, perhaps disabling the GC for the duration of this 
loading?

Frank
Jun 24 2008
next sibling parent Bill Baxter <dnewsgroup billbaxter.com> writes:
Frank Benoit wrote:
 Hi
 
 When i load a jface application, that can take a while. About 10-30 sec.
 I wonder if that can be optimized?
 If not allready done, perhaps disabling the GC for the duration of this 
 loading?
 
 Frank

Indeed. Both the initial load before the prompt is active and the subsequent startup time after typing 'r' (processing DLLs) are both a little long. --bb
Jun 24 2008
prev sibling parent Jascha Wetzel <firstname mainia.de> writes:
Frank Benoit wrote:
 Hi
 
 When i load a jface application, that can take a while. About 10-30 sec.
 I wonder if that can be optimized?
 If not allready done, perhaps disabling the GC for the duration of this 
 loading?
 
 Frank

yes, there should be several opportunities to optimize it. ddbg builds an AVL tree for the code-address to source-file/line mapping, s.t. stepping through the code is faster. i guess there's a lot of unnecessary heap action while building the tree. i've setup a ticket here: https://trac.mainia.de/ddbg/ticket/7 please drop me an e-mail if you'd like an account for the ticket system.
Jun 29 2008