Public Report
Report From: Delphi-BCB/IDE/Performance    [ Add a report in this area ]  
Report #:  29604   Status: Closed
Noticeable delay when compiling in IDE
Project:  Delphi Build #:  10.0.2279.20311
Version:    10.0 Submitted By:   Myles Penlington
Report Type:  Minor failure / Design problem Date Reported:  5/29/2006 8:28:31 PM
Severity:    Commonly encountered problem Last Updated: 9/9/2008 10:52:12 AM
Platform:    All platforms Internal Tracking #:   240286
Resolution: Fixed (Resolution Comments) Resolved in Build: : 12.0.0.15995
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
This one has bugged me for a while - and in the interests of having Delphi 1
speed ..

On large projects (Delphi Win32 personality) - eg Ours has about 972 units
(at last count) spread over about 30 folders.

If you have the compiler dialog set to display and then press F9 to compile
(or shift-F9 to build), there is a 10-15 second delay before the compile
dialog appears.

On small projects e.g. less < 50 units - there is no noticeable delay.

It would be nice to have this < 1 second!

Myles.
Steps to Reproduce:
Case (a) - as expected (fast/no delay)
1. Have a large Win32 project handy to compile. Suggest > 500 units (all up).
2. Compiler it.
3. Close IDE.
2. Start IDE.
3. Turn on show compiler progress dialog.
4. Open project/project group - ensure have no forms visible - all in code editor state instead.
5. Compile using Ctrl-F9
6. Wait is about 1 second or less.

Case (b) - Slow
1. Have a large Win32 project handy to compile. Suggest > 500 units (all up).
2. Start IDE.
3. Turn on show compiler progress dialog.
4. Open project/project group.
5. Make changes to about 20 units in a variety of folders e.g spend 1/2 an hour editing - esp those not directly included in the project file.
It seems esp dependent on having the Form designer active or having being used in the session - the more it is used, or the more frames/forms active, the slower the time to show the compile dialog.

6. Compile using Ctrl-F9

7. Wait for upto 10-15 seconds for dialog to appear (CPU is typically at 100%)



Workarounds
None
Attachment
None
Comments

Sebastian Modersohn at 5/30/2006 4:17:12 AM -
Have you tried turning off AutoSave? Maybe this is what actually causes the delay...

David Long at 2/14/2007 2:25:38 PM -
I, too, had this problem, using the C++ personality.  It became so bad that it took as much as full minute before the compile dialog even appeared.  It was intolerable.  I tried everything, including a total re-install of the BDS.  In desperation, I tried this:  1. Create a new, empty project.  2. Add all your files from the old project.  3. It worked! Everything is back to FULL speed again.  I am seeing it gradually get slower again as the days go by and I will just recreate the project file again when necessary.

Server Response from: CODE1