Board index » delphi » Overall D2006 is MUCH better, but....

Overall D2006 is MUCH better, but....


2005-12-21 11:05:49 AM
delphi18
There is one area that is as slow, or maybe a bit slower than
D2005, and that is switching between the form and code tabs.
I have a large project with about 40 forms and I have LOTS of components
installed and on my Athlon 3200+ with 1gb of ram it takes up to 4
seconds when a few forms are open to switch back and forth. I can even
see the scroll bar on the component pallet moving back and forth as the
forms switch, almost like it is rebuilding the form each time it activates.
This area for sure needs some work in the performance area.
Interesting is the fact that the PRO version I have at home seems a
little bit faster than the Enterprise version at work(on the exact same
project). Maybe this has something to do with the modeling stuff in
Enterprise?
Like I said, except for this one little area I am very pleased with
D2006. Hopefully they will address these lingering performance issues
in upcoming patches.
Later,
Tony
 
 

Re:Overall D2006 is MUCH better, but....

tony caduto writes:
Quote
There is one area that is as slow, or maybe a bit slower than
D2005, and that is switching between the form and code tabs.
I have a large project with about 40 forms and I have LOTS of components
installed and on my Athlon 3200+ with 1gb of ram it takes up to 4
seconds when a few forms are open to switch back and forth. I can even
see the scroll bar on the component pallet moving back and forth as the
forms switch, almost like it is rebuilding the form each time it activates.
This area for sure needs some work in the performance area.

WHat kind of application? Win32? I have an ASP.NET application and the
performance is significantly better when switching between code/form
views than 2005 was.
Craig
 

Re:Overall D2006 is MUCH better, but....

tony caduto writes:
Quote
There is one area that is as slow, or maybe a bit slower than
D2005, and that is switching between the form and code tabs.
Performance in this area is definitely improved b/n 2005 and 2006
versions. Please provide a test case if you can.
--
John Kaster blogs.borland.com/johnk
Features and bugs: qc.borland.com
Get source: cc.borland.com
If it is not here, it is not happening: ec.borland.com
 

Re:Overall D2006 is MUCH better, but....

"tony caduto" <XXXX@XXXXX.COM>writes
Quote
There is one area that is as slow, or maybe a bit slower than
D2005, and that is switching between the form and code tabs.
I have a large project with about 40 forms and I have LOTS of components
installed and on my Athlon 3200+ with 1gb of ram it takes up to 4 seconds
when a few forms are open to switch back and forth. I can even see the
scroll bar on the component pallet moving back and forth as the forms
switch, almost like it is rebuilding the form each time it activates.
This area for sure needs some work in the performance area.

Hi Tony,
I have an idea that *might* fix some of your problems, but I haven't tried
it for exactly this issue.
I've found that if you run Windows XP (I'm assuming you're running XP) with
the new blue-look and all bells & whistles, many applications run much
slower. Try to optimize windows for performance and see if this helps. You
can do this by Right-Clicking "My Computer", Selecting "Properties", go to
the "Avanced" tab and click the "Settings" button for Performance. There you
can swich off much of the XP eye-candy.
Please report back if this helps :)
Best Regards,
Tom Reiertsen
 

Re:Overall D2006 is MUCH better, but....

Hi Tony,
tony caduto writes:
Quote
There is one area that is as slow, or maybe a bit slower than
D2005, and that is switching between the form and code tabs.
I have a large project with about 40 forms and I have LOTS of
components installed and on my Athlon 3200+ with 1gb of ram it takes
up to 4 seconds when a few forms are open to switch back and forth. I
can even see the scroll bar on the component pallet moving back and
forth as the forms switch, almost like it is rebuilding the form each
time it activates. This area for sure needs some work in the
performance area.
Well, if it is slow with 40 forms, I am in for trouble! Most of my
projects have at about 100+ forms, and I have 1 very big project that
has over 700 forms... Currently still using BCB 5 (actually, for a few
projects, I still use even BCB 1).
--
Best regards,
Jonathan Neve
_______________
CopyTiger - advanced database replicator for Interbase/Firebird!
Web : www.microtec.fr/copycat/ct
_______________________________________
CopyCat - database replication components for Delphi/C++Builder!
Web : www.microtec.fr/copycat/cc
 

Re:Overall D2006 is MUCH better, but....

"tony caduto" wrote
Quote
There is one area that is as slow, or maybe a bit slower than
D2005, and that is switching between the form and code tabs.
Be sure to read Mark Edington's post in b.p.d.ide.general about "Delphi
2006 Performance Feedback Wanted". He wants to hear from you.
 

Re:Overall D2006 is MUCH better, but....

Quote
Well, if it is slow with 40 forms, I am in for trouble! Most of my
projects have at about 100+ forms, and I have 1 very big project that
has over 700 forms... Currently still using BCB 5 (actually, for a few
projects, I still use even BCB 1).
I think it is related to the number of components installed, not the number
of forms. I have a project with 900+ and I have had zero problems with speed.
Ryan
 

Re:Overall D2006 is MUCH better, but....

Craig writes:
Quote
WHat kind of application? Win32? I have an ASP.NET application and the
performance is significantly better when switching between code/form
views than 2005 was.
Yes win32, sorry I forgot to mention that.
The slowness really seems to be from having lots of components
installed, the more I installed the slower it became.
On my Pro box at home it is a little over 2 seconds to switch between
code and design. Going from design to code is fast, just not code to
design.
 

Re:Overall D2006 is MUCH better, but....

Quote
I have an idea that *might* fix some of your problems, but I haven't tried
it for exactly this issue.
I've found that if you run Windows XP (I'm assuming you're running XP) with
the new blue-look and all bells & whistles, many applications run much
slower. Try to optimize windows for performance and see if this helps.
Well, I tried that and it makes no differnce, it is still taking 3
seconds to switch and about that long to open forms as well.
Before I added all the components it was fast. I have lots of components
installed, the Indy JVCL adds over 300 by itself, and after I installed
that plus Zeos,PostgresDAC etc etc it really started to slow down big time.
Later,
Tony
 

Re:Overall D2006 is MUCH better, but....

Quote
Ryan McGinty writes:
900 forms!? What on earth are you developing?! :-D
The world's most flexible calc.exe replacement ;)
Seriously it is a medical management program. I had no idea that it had
gotten that large until I started hiring other programmers for help. One
day I checked and it was 1200+ pas files and 900+ of those are forms. Some
of it was bloat (about 5%) which I have been cutting down during the conversion
from Delphi 7 to D2006 but the bulk of it is just data management forms. And that's
based on a custom written framework to reduce redundancy!
Ryan
 

Re:Overall D2006 is MUCH better, but....

Ryan McGinty writes:
Quote
I think it is related to the number of components installed, not the
number of forms. I have a project with 900+ and I have had zero problems
with speed.
900 forms!? What on earth are you developing?! :-D
 

Re:Overall D2006 is MUCH better, but....

Quote
I can understand a thousand .pas files, but 1 thousand /user
interface/ forms sounds waaaay too much for a single application. I
don't think even the most complicated or comprehensive ERP products
out there rival that! :-D
It is an application that is 4 different core modules, like scheduling, billing,
document management, medical records etc. Each has its own data elements,
reports, etc. Also I use a lot of inheritence to share core functionality
with other products in development (for instance, the document management
is made up of 14 core forms that are descendend from in the app). About
200 forms are our custom framework and most of those are descendend from
in the products based on them - so basically some forms the users sees are
actually culminated from 4 different form files... Oh, and 900 was really
dfm files, which datamodules and frames use as well, so some are for those
and are not necessarily "forms."
I am still using QuickReport currently (I still can not decide what I want
to move to) and I have options screens for each report, so if there are 75
reports, then that accounts for 150 of those forms too since QuickReport
uses the form designer.
Quote
BTW, how many tables are there in your database?
Currently, 235. I can see adding a few more tables, but I don't see it getting
too much bigger. I am a big fan of "more tables" vs "more columns that will
be empty with certain types of data" so sometimes I have 2 or 3 tables for
what other people might all just put into one...
Ryan
 

Re:Overall D2006 is MUCH better, but....

In "Options" of tool palette check "Always show designer items" (also
try to uncheck "show palette wizards").
Alexander Tereshchenko
XXXX@XXXXX.COM
If I live through this job without completely losing my mind,
it will be a miracle of Biblical proportions.
-- Cmdr. Susan Ivanova, Babylon 5
Quote
There is one area that is as slow, or maybe a bit slower than
D2005, and that is switching between the form and code tabs.
 

Re:Overall D2006 is MUCH better, but....

John Kaster (Borland) a écrit :
Quote
tony caduto writes:

>There is one area that is as slow, or maybe a bit slower than
>D2005, and that is switching between the form and code tabs.

Performance in this area is definitely improved b/n 2005 and 2006
versions. Please provide a test case if you can.

Hello John,
This is a known issue.
I have reported QC 22273.
I've taken an example when moving from an action item handler to another
one. But the slowdowns are also visible when switching from any forms to
code or any forms to form.
As Tony said, and I can confirm this (i've played more then 3 hours on
this) the more VCL are installed, the slower the IDE get
 

Re:Overall D2006 is MUCH better, but....

Alexander Tereshchenko a écrit :
Quote

In "Options" of tool palette check "Always show designer items" (also
try to uncheck "show palette wizards").

Alexander Tereshchenko
XXXX@XXXXX.COM

If I live through this job without completely losing my mind,
it will be a miracle of Biblical proportions.
-- Cmdr. Susan Ivanova, Babylon 5


>There is one area that is as slow, or maybe a bit slower than
>D2005, and that is switching between the form and code tabs.
This doesn't solves the problem. Please see my answer to john kaster