Public Report
Report From: Delphi-BCB/IDE/Performance    [ Add a report in this area ]  
Report #:  22038   Status: Closed
Slowdown when projects build/run in IDE
Project:  Delphi Build #:  10.0.2151.25345
Version:    10.0 Submitted By:   Sakis Papademetriou
Report Type:  Basic functionality failure Date Reported:  12/7/2005 7:25:32 AM
Severity:    Critical / Show Stopper Last Updated: 3/18/2007 10:59:42 AM
Platform:    95, 98, 2000, NT, XP Internal Tracking #:   237942
Resolution: Fixed (Resolution Comments) Resolved in Build: : 11.0.2599.4485
Duplicate of:  None
Voting and Rating
Overall Rating: (3 Total Ratings)
5.00 out of 5
Total Votes: 4
Description
Successive project builds (F9)  cause delay in the build / run cycle.
After 15 successive runs, I had to wait up to twenty seconds just to switch from default to debug desktop and vice versa. BTW I'm using BDS2006 clean installed, with Win32 personality only. Testing machines: WinXP/Pro/SP2 clean installation (P4/1GB)
Steps to Reproduce:
Open or create a Win32/VCL form project. For my tests I used the "Win2000 Logo Application" template.

F9 to build it. Measure lag to switch to debug desktop
Close testing executable and measure lag to switch to default desktop
Repeat the above two steps a few times (10-20) and measure lag.


Workarounds
None
Attachment
None
Comments

Sakis Papademetriou at 12/8/2005 1:02:33 AM -
I've noticed that this problem occures when IDE was in form design mode, not in code, when F9 was pressed.

Sakis Papademetriou at 12/17/2005 9:02:48 AM -
When problem occures, IDE isn't slow only when switching layouts but also when manipulating its windows.
For example, after 10-20 build/run cycles, IDE pulldown menus open extremely slowly and Tools-Options dialog opens with a fifteen seconds delay or more.

Bo Bennekov at 2/13/2007 1:30:05 PM -
I notice that this QC is for WIN32. I'm using the .NET personality, and I have noticed the same degrading performance.
Normally, when debugging an application, I'll have to close/restart the IDE after 5 to 10 builds (eats a lot of memory). Just closing the IDE can take up to 1 minute (after that I loose my patience and kill BDS from task manager). If the IDE closes, then generally a memory AV occurs.
I haven't been aware whether the code editor or form designer was active when the application is built.

Server Response from: CODE1