Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
IDE
Add Component Template
Background compile
Batch file target
Block Completion
Build Tools
Caliber
Class Completion
Class Explorer
Code Browsing
Code Completion
Code Editor
Code Explorer
Code Parameters
Code Templates
Compiler Message Window
Deployment Manager
Dialogs
Direct
Docking
File Browser
File Handling
Form Designer
Help
History View
IDE Insight
Memory Issues
Menu Designer
Menus
Module Manager
Multi-Monitor Support
Object Inspector
Object TreeView
Open Tools API
Packages
Performance
Printing
Project Explorer(old Object Browser)
Project Management
Refactoring
Repository
Save Desktop
Search
Start Page
Starteam
Startup/Shutdown
Structure Pane
System Resources
ToDoList
Tool Palette
Toolbars/Status Line
Translation Tools
Unit Testing
Version Control
VersionInfo
Views
Visual Form Inheritance
Workgroup(PVCS)
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/IDE/Code Completion
[ Add a report in this area ]
Report #:
74911
Status:
Open
Code Insight is slow and unreliable on large project
Project:
Delphi
Build #:
12.0.3420.21218
Version:
12.3
Submitted By:
George Kozaderov
Report Type:
Basic functionality failure
Date Reported:
6/15/2009 5:42:59 PM
Severity:
Serious / Highly visible problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All platforms
Internal Tracking #:
270219
Resolution:
None
(Resolution Comments)
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
(5 Total Ratings)
5.00 out of 5
Total Votes:
283
Description
Code Insight sometimes doesn't work and sometimes works but with a very annoying delay of more than 10 seconds.
The attached SWF movie demonstrates that Code Insight doesn't work at all after the project was opened and then it starts working in another unit but after a long wait, then it eventually starts working in the first unit and everywhere else.
This happens only on one particular large project that has 1.2 million lines of code. Smaller projects have no such problem and Code Insight there brings the list of identifiers instantly after the dot is typed.
Delays happen randomly and are particularly long after project is just opened or compiled. This Code Insight behaviour is so common on this project that everyone on the dev team had to turn off Code Insight to be able to work without interruptions.
Steps to Reproduce:
None
Workarounds
Turn off Code Insight
Attachment
Delphi2009_CodeInsight_SlowAndUnreliable.zip
Comments
Lachlan Gemmell at 7/29/2010 6:00:09 PM
-
I see the problem on moderately sized applications (around 50K lines) on D2010.
Steven Kamradt at 10/14/2010 4:04:04 PM
-
Also still experiencing this with Delphi XE.
Stefan Tashev at 11/12/2010 6:15:53 AM
-
Delphi XE's CodeInsight is slower than D2010 on the same project ( ~500000 lines ). The project uses heavily generics and anonymous methods.
Daniel Terhell at 11/11/2011 11:18:18 AM
-
So this must be a multi-million dollar bug. Every self respecting developer will trash XE(2) right away if he gets hickups of several minutes while TYPING in the editor (Core i7, 16GB, SSD). The delay is a magnitude longer than the time required to compile the whole project.
Disabling Code Insight on XE2 is not enough to get rid of the problem, you must
disable ALL SUBFEATURES of Code Insight before Code Insight is actually switched off.
Suggestion to Embarcadero: Apply common sense and DISABLE CODE INSIGHT BY DEFAULT until this very serious problem is fixed.
Craig Reynolds at 11/23/2011 4:05:54 PM
-
I've been complaining about this issue on pretty much every release of Delphi I've tried after version 7. With the new IDE came some BIG performance hits for large projects.
Our main project is 3.5+ million LOC and while DXE2 has much better performance than most of the releases of the last several years, Code Insight is still the one major area where it just DOES NOT PERFORM IN A USABLE FASHION.
Todd Asher at 1/4/2012 6:24:55 AM
-
We have a large project that has 600,000 lines of code and 317 individual pas files.
The IDE reports errors that it cannot find units in the uses clauses that are part of the project! Of course this causes all sorts of erroneous errors to be displayed in the individual units.
Delphi 6 has no problems finding all these units. It does not report any errors. Why does a "more advanced" compiler over a decade newer have such problems?
I can provide screen captures for such an instance.
Márton Balassa at 2/27/2012 4:08:11 AM
-
I'm using XE. Code Insight is not only slow, but doesn't work as expected either :( In many cases, when invoking Code Insight in a class's declaration, it
- does not list or mark unimplemented abstract methods
- does list interface methods even if implemented (very annoying when you try to add missing interface methods)
- does not list virtual methods, or does not add 'override' to the line when I select the method.
And the most annoying and destructive bug ever: even if all automatic features are disabled, sometimes the editor freezes and slowly eats up all available memory while typing, the only solution being to kill the process and lose some work.
Karol Bieniaszewski at 10/18/2012 1:27:41 AM
-
I see this also not only in big project but also in small projects
and sometimes IDE hang after Ctrl+Space and never stop
CPU usage is then 100% of core and memory consumption never changes
For test i wait 1 hour to see if it ends but not!
I have XE2
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us