Re: Delphi 2005 executes slower?
- From: Marco van de Voort <marcov@xxxxxxxx>
- Date: Sat, 28 May 2005 21:05:33 +0000 (UTC)
On 2005-05-28, Paul Dunn <paul.dunn4@xxxxxxxxxxxx> wrote:
> 1. Programs with intense CPU usage slowed down significantly - up to 50%
> slower in some cases (though the worst were using hand coded ASM blocks - I
> assume that Delphi 2005 would be using more processor specific stuff in
> these cases). My main test for this was sound output. In one application, I
> used MMX to move memory to the sound buffer, and that one suffered a lot
> when moved to 2005. The other application used CopyMemory() which was
> significantly faster, but failed to execute on a 486.
Sounds like extra runtime handlers (for possible use of some new D2005
features), or some seriously slowed down one, or both.
> 3. Delphi 2005 alters the behaviour of my applications when recompiled. No
> asm blocks, just plain delphi-pascal. Unfortunately there's upwards of 700
> operations where the behaviour could have been changed, and I really didn't
> feel like tracking it down.
If it your library usage is basic, or if it is a numeric engine, and you
have non-complicated unit tests, you could try to give it a spin with FPC,
maybe you're lucky and its errors/warnings/hints set you on the right track
easily. It is not guaranteed, but worth a shot.
> switching back to Delphi 5. That one gives the best performance of all the
> delphi versions that I've tried (D3 - D6, D2k5) and the best reliablity.
> I've decided that Borland have lost the plot entirely, and won't be trying
> any new versions.
I've two other remarks for the thread:
- I use D6E, however with now a quite complete set of patches installed,
and those mattered a lot compared to the original D6. Afaik D2005-trial
versions are still patchless. IOW, patchlevel might level, specially
since it is 1.0 of a Delphi generation.
- I expected some major performance improvements from INLINE;, based on FPC
experiences with the similar options. In some cases I could get
applications to improve with 30-50% with a few well placed inlines in a
rate determining routine. And Delphi (still) has the better optimizer, so
it should benefit even more if the optimizer works over the final inlined
code. Anybody with experience on this? (my case was a set of (non-oop)
custom iterator routines, it optimised away the abstraction layer)
.
- Follow-Ups:
- Re: Delphi 2005 executes slower?
- From: Jud McCranie
- Re: Delphi 2005 executes slower?
- References:
- Delphi 2005 executes slower?
- From: Jud McCranie
- Re: Delphi 2005 executes slower?
- From: Paul Dunn
- Delphi 2005 executes slower?
- Prev by Date: Using ZLib
- Next by Date: Re: Delphi 2005 executes slower?
- Previous by thread: Re: Delphi 2005 executes slower?
- Next by thread: Re: Delphi 2005 executes slower?
- Index(es):
Relevant Pages
|
|