Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Nice Surprise...



Permlink Replies: 57 - Last Post: Nov 4, 2014 4:15 PM Last Post By: Quentin Correll
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 30, 2014 2:30 PM
Over some years past I remember being a tad disappointed with slightly
diminished performance of my "big-app" executable with each new
Delphi/RAD Studio Pro release. (In the 4% to 7% range each time.)

I have just finished installing XE7, complete with ALL of my 3rd-party
components. So one of the first things I did was to re-run a couple of
my intensive performance tests with my "new" XE7 compiled big-app.
Imagine my welcome surprise and pleasure to find that my big-app's XE7
compiled executable OUT-PERFORMED ALL prior XE, XE2 and XE5 compiled
big-app executables!!!

(I could not compare to old, prior to XE, executables since I have made
changes to the underlying database tables and the old executables no
longer correctly run the tests.)

The performance improvement, over five test-runs, averaged 8%!!!!!!!

I know this is only a single example but, hey,... Well done EMBT!!!

--

Q

1.19.1.372 (Q's Broken Toolbar.)

Brian Hamilton ...

Posts: 556
Registered: 10/14/04
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 30, 2014 2:49 PM   in response to: Quentin Correll in response to: Quentin Correll
I really Like XE7
The Best Delphi Compiler yet :)
I am just wating on instrumentlab to be ported :)
Bruce McGee

Posts: 1,716
Registered: 9/30/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 30, 2014 5:44 PM   in response to: Quentin Correll in response to: Quentin Correll
Quentin Correll wrote:

Over some years past I remember being a tad disappointed with slightly
diminished performance of my "big-app" executable with each new
Delphi/RAD Studio Pro release. (In the 4% to 7% range each time.)

Don't I remember some of that being self inflicted and you finding out
that the executable produced by XE5 was actually faster than with the
previous version?

Or was that something else?

--
Regards,
Bruce McGee
Glooscap Software
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 11:50 AM   in response to: Bruce McGee in response to: Bruce McGee
Bruce,

| Don't I remember some of that being self inflicted and you finding out
| that the executable produced by XE5 was actually faster than with the
| previous version?
|
| Or was that something else?

Yes, you remember correctly. In that one particular case that was
true. And that was the "7%" instance.

--

Q

1.19.1.372 (Q's Broken Toolbar.)

Bruce McGee

Posts: 1,716
Registered: 9/30/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 30, 2014 7:46 PM   in response to: Quentin Correll in response to: Quentin Correll
I seem to remember that you have VERY complicated form files.

Are you seeing any speed improvements in the form designer in the IDE?

--
Regards,
Bruce McGee
Glooscap Software
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 12:19 PM   in response to: Bruce McGee in response to: Bruce McGee
Bruce,

| I seem to remember that you have VERY complicated form files.
|
| Are you seeing any speed improvements in the form designer in the IDE?

Yes, my big-app has a very complicated (Many (23) Tab Pages) form.

However, I haven't re-designed anything in the form. I just "compiled
and ran" for these tests. And I have not yet written any "new" apps
from scratch with XE7. I'll keep watch, though, and if I notice
anything I'll report back.

What I did notice, since I was "playing" with compiling with the
identical source code using XE5 and XE7, when I re-compiled from the
dpr XE5 takes seven (7) seconds and XE7 takes four (4) seconds. (As
shown on the Ctrl-F9 compile dialog window.) And after the re-building
of dproj's XE5 then usually compiles in two (2) seconds and XE7 usually
compiles in one (1) second.

I typed usually because once in a while XE7 will show 2 seconds. (XE5
never shows 1 second.)

The above leads me to believe that XE7 is compiling my big app up to
50% quicker than XE5.

When I get a moment I'll modify my "BuildBat" program to capture actual
build and compile times and see if I can get a more accurately detailed
result set.

--

Q

1.19.1.372 (Q's Broken Toolbar.)

Bruce McGee

Posts: 1,716
Registered: 9/30/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 1:14 PM   in response to: Quentin Correll in response to: Quentin Correll
Quentin Correll wrote:

Ctrl-F9

That's a compile.

How about Shift+F9, which is a full build?

--
Regards,
Bruce McGee
Glooscap Software
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 3:32 PM   in response to: Bruce McGee in response to: Bruce McGee
Bruce,

| | Ctrl-F9
|
| That's a compile.

Yes, I know. <g>

| How about Shift+F9, which is a full build?

I'll play with it and let you know.

--

Q

1.19.1.372 (Q's Broken Toolbar.)

Bruce McGee

Posts: 1,716
Registered: 9/30/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 1, 2014 3:41 AM   in response to: Quentin Correll in response to: Quentin Correll
Quentin Correll wrote:

Bruce,

| Ctrl-F9

That's a compile.

Yes, I know. <g>

I just mean that a compile only compiles what it needs to, so you will
see different times.

Build times should be more consistent, and are better comparing.

--
Regards,
Bruce McGee
Glooscap Software
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 1, 2014 12:32 PM   in response to: Quentin Correll in response to: Quentin Correll
Bruce,

See "XE5 vs XE7 Performance Tests" in the Attachments group for the
results.

--

Q

1.19.1.372 (Q's Broken Toolbar.)
Bruce McGee

Posts: 1,716
Registered: 9/30/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 1, 2014 7:00 PM   in response to: Quentin Correll in response to: Quentin Correll
Quentin Correll wrote:

Bruce,

See "XE5 vs XE7 Performance Tests" in the Attachments group for the
results.

Small but measurable improvements in build times. Nice. I can't imagine
waiting for C++ builds.

I have also noticed better performance in the IDE in general, but
that's tougher to measure.

I noticed that Error Insight seemed to behave really well in a bunch of
CodeRage demos. No phantom squigglies. I guess it's been improving over
time, but I hadn't been paying attention.

--
Regards,
Bruce McGee
Glooscap Software
John Treder

Posts: 349
Registered: 8/2/02
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 1, 2014 7:28 PM   in response to: Bruce McGee in response to: Bruce McGee
Bruce McGee wrote:

I noticed that Error Insight seemed to behave really well in a bunch of
CodeRage demos. No phantom squigglies. I guess it's been improving over
time, but I hadn't been paying attention.

It's a LOT better than XE5, which was a bunch better than XE. It still gets confused and will state, in perfect seriousness, that "TForm has no "Show" property," or some such thing.
The only way I've found to fix it is to close the IDE and restart. Reloading the dproj or dpr often doesn't work. Fortunately, restarts are quicker too. No hard data to show, though.

--
Tredmill
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 2, 2014 10:36 AM   in response to: John Treder in response to: John Treder
John,

| It still gets confused and will state, in perfect seriousness, that
| "TForm has no "Show" property," or some such thing.

Hmmm,... I have never [yet] encountered that specific issue.

--

Q

1.19.1.372 (Q's Broken Toolbar.)
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 2, 2014 10:35 AM   in response to: Bruce McGee in response to: Bruce McGee
Bruce,

| I noticed that Error Insight seemed to behave really well in a bunch
| of CodeRage demos. No phantom squigglies.

Now that you mention that old issue, I concur!

--

Q

1.19.1.372 (Q's Broken Toolbar.)

John Treder

Posts: 349
Registered: 8/2/02
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 1, 2014 7:46 PM   in response to: Quentin Correll in response to: Quentin Correll
Quentin Correll wrote:

Bruce,

See "XE5 vs XE7 Performance Tests" in the Attachments group for the
results.

Interesting. Max - Min deltas, using mental arithmetic:
XE5 debug build: 1.27 sec
XE5 debug compile: 1 sec
XE5 release build: 2.97 sec
XE5 release compile 2.97 sec (coincidence?)
XE7 debug build: 1.97 sec
XE7 debug compile: 1.07 sec
XE7 release build: 0.7 sec
XE7 release compile: 1.28 sec

Looks like XE7 might be keeping a bit more debug stuff on disk rather than in RAM. Dunno.

BTW, I gather it was 6 runs on each setup. Did you do anything to randomize or otherwise reduce outside influences on the data? Something like rebooting between each exercise or doing a random selection of what to do next?
I'm almost as picky as you are, Q!
--
John
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 2, 2014 10:44 AM   in response to: John Treder in response to: John Treder
John,

| BTW, I gather it was 6 runs on each setup. Did you do anything to
| randomize or otherwise reduce outside influences on the data?

Yes, six (6) test instances each. The only thing I did to try to
"normalize" the tests to be as much the same as possible was:

1) - Use the identical source;

2) - Close everything to do with XEn;

3) - Delete the RCIII.dproj file;

4) - Open XEn by using the RCIII.dpr file;

5) - Do the Build test;

6) - Then do the Compile test.

--

Q

1.19.1.372 (Q's Broken Toolbar.)
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 2, 2014 12:48 PM   in response to: Quentin Correll in response to: Quentin Correll
Tred,

| 5) - Do the Build test;
|
| 6) - Then do the Compile test.

... tests.

--

Q

1.19.1.372 (Q's Broken Toolbar.)
Jim Fleming

Posts: 113
Registered: 2/12/00
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 6:00 AM   in response to: Quentin Correll in response to: Quentin Correll
Since EMBT took over Delphi they have consistently improved the Windows product, and added all those
mobile features / elements. Now you confirm that performance is also on their radar.

They are certainly moving in the right direction. I say that despite not using the mobile features,
nor is performance important to my main applications, currently on XE2 and moving towards XE6 where
they will remain for some time. However, seeing the owners of the product giving it lots of TLCA
shows me that MY investment in MY applications has the support of my tool vendor.

Quite a change from the old days when Delphi seemed to be just a source of funding for other
priorities / dreams.

--
JF
Steve Jordi

Posts: 111
Registered: 4/19/98
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 7:46 AM   in response to: Jim Fleming in response to: Jim Fleming
Can't agree more.
Since Embarcadero took over, not only C++Builder didn't disappear, as
it was once its fate, but they really turned everything into a solid
development environment. I even came back to Delphi today and the
x-platform solution is amazing to say the least.

--
Steve JORDI - MSc in Geophysics/Volcanology
Geneva, Switzerland / Portland, OR, USA

Vladimir Ulchenko

Posts: 248
Registered: 1/12/00
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 8:50 AM   in response to: Steve Jordi in response to: Steve Jordi
On Fri, 31 Oct 2014 07:46:42 -0700, Steve Jordi <stevejordiREALLYHATESPAM at hotmail dot com> wrote:

Since Embarcadero took over, not only C++Builder didn't disappear, as
it was once its fate, but they really turned everything into a solid
development environment. I even came back to Delphi today and the
x-platform solution is amazing to say the least.

can't comment on delphi but bcb and "solid development environment"? you must be kidding

--
Vladimir Ulchenko aka vavan
Steve Jordi

Posts: 111
Registered: 4/19/98
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 9:10 AM   in response to: Vladimir Ulchenko in response to: Vladimir Ulchenko
On 2014-10-31 15:50:54 +0000, Vladimir Ulchenko said:
can't comment on delphi but bcb and "solid development environment"?
you must be kidding

Absolutely, most of my apps are in C++ and I'm in real time data
acquisition. I achieve things
impossible with, say C# or Visual C++ or anything with Java and .net of course.

--
Steve JORDI - MSc in Geophysics/Volcanology
Geneva, Switzerland / Portland, OR, USA
Bruce McGee

Posts: 1,716
Registered: 9/30/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 8:14 AM   in response to: Jim Fleming in response to: Jim Fleming
Jim Fleming wrote:
currently on XE2 and moving towards XE6 where
they will remain for some time.

Both XE6 and XE7 received a lot of attention as far as bug fixing and stability, and there was some language feature work in XE7.

If you are planning to move to a recent version and stay there for a while, I would recommend XE7, even over XE6.

--
Regards
Bruce McGee
Glooscap Software
Stefanos Charal...

Posts: 4
Registered: 9/9/10
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 11:15 AM   in response to: Bruce McGee in response to: Bruce McGee
Bruce McGee wrote:
Jim Fleming wrote:
currently on XE2 and moving towards XE6 where
they will remain for some time.

Both XE6 and XE7 received a lot of attention as far as bug fixing and stability, and there was some language feature work in XE7.

If you are planning to move to a recent version and stay there for a while, I would recommend XE7, even over XE6.

Or even better be on SA and get always the latest release and support...

Stef
Bruce McGee

Posts: 1,716
Registered: 9/30/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 11:28 AM   in response to: Stefanos Charal... in response to: Stefanos Charal...
Stefanos Charalampous wrote:
Bruce McGee wrote:

If you are planning to move to a recent version and stay there for a while, I would recommend XE7, even over XE6.

Or even better be on SA and get always the latest release and support...

Well, I didn't want to push...

But yes.

--
Regards
Bruce McGee
Glooscap Software
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 12:21 PM   in response to: Bruce McGee in response to: Bruce McGee
Bruce,

| If you are planning to move to a recent version and stay there for a
| while, I would recommend XE7, even over XE6.

As of yesterday I would ditto that! <g>

--

Q

1.19.1.372 (Q's Broken Toolbar.)

Jim Fleming

Posts: 113
Registered: 2/12/00
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 1, 2014 1:12 PM   in response to: Bruce McGee in response to: Bruce McGee
Unfortunately that is not possible: I've updated all my 3rd-party packages
for XE6 at quite considerable expense. The "finance minister" (she who
shares our pillow) would not be too happy with a repeat of that exercise !!!

--
JF
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 2, 2014 10:47 AM   in response to: Jim Fleming in response to: Jim Fleming
Jim,

| Unfortunately that is not possible: I've updated all my 3rd-party
| packages for XE6 at quite considerable expense. The "finance
| minister" (she who shares our pillow) would not be too happy with a
| repeat of that exercise !!!

Check with your component vendors. All of mine gave me XE7 updates at
no charge! It had only been 90 days since I had bought XE6 stuff.

--

Q

1.19.1.372 (Q's Broken Toolbar.)
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 12:20 PM   in response to: Jim Fleming in response to: Jim Fleming
Jim,

| Quite a change from the old days when Delphi seemed to be just a
| source of funding for other priorities / dreams.

A welcome change, eh? <g>

--

Q

1.19.1.372 (Q's Broken Toolbar.)
Jim Fleming

Posts: 113
Registered: 2/12/00
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 1, 2014 1:17 PM   in response to: Quentin Correll in response to: Quentin Correll
Yes, definitely.

I'll be skipping several versions now as I cannot afford to keep in step
with all the 3-rd party packages (Eurekalog, InfoPower, Jam Software,
DevExpress and TRichView).

My previous version was XE2, and before that D2007. That strategy works for
me.

--
JF

"Quentin Correll" <qcorrell at pacNObell dot net> escribió en el mensaje
news:700424 at forums dot embarcadero dot com...
Jim,

| Quite a change from the old days when Delphi seemed to be just a
| source of funding for other priorities / dreams.

A welcome change, eh? <g>

--

Q

1.19.1.372 (Q's Broken Toolbar.)
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 2, 2014 10:47 AM   in response to: Jim Fleming in response to: Jim Fleming
Jim,

| I'll be skipping several versions now as I cannot afford to keep in
| step with all the 3-rd party packages (Eurekalog, InfoPower, Jam
| Software, DevExpress and TRichView).

See my other reply to you.

--

Q

1.19.1.372 (Q's Broken Toolbar.)
Clement Doss

Posts: 133
Registered: 9/19/00
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 11:34 AM   in response to: Quentin Correll in response to: Quentin Correll
Hi Q

Quentin Correll wrote:
Over some years past I remember being a tad disappointed with slightly
diminished performance of my "big-app" executable with each new
Delphi/RAD Studio Pro release. (In the 4% to 7% range each time.)

Indeed. I was comparing the same project executable. One built with XE5, and the other XE6. There was no need of any special tool to see the improvement. Just by clicking tabs, opening forms you could notice the difference! XE6 much faster than XE5.
Between XE6 and XE7 there wasn't such a visible difference. I'm using XE7 as my main IDE.
EMB is doing a good job. Just keep it going! There's still room for improvements! :)

Clément
Stefanos Charal...

Posts: 4
Registered: 9/9/10
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 11:42 AM   in response to: Clement Doss in response to: Clement Doss
Clement Doss wrote:
Hi Q

Quentin Correll wrote:
Over some years past I remember being a tad disappointed with slightly
diminished performance of my "big-app" executable with each new
Delphi/RAD Studio Pro release. (In the 4% to 7% range each time.)

Indeed. I was comparing the same project executable. One built with XE5, and the other XE6. There was no need of any special tool to see the improvement. Just by clicking tabs, opening forms you could notice the difference! XE6 much faster than XE5.
Between XE6 and XE7 there wasn't such a visible difference. I'm using XE7 as my main IDE.

Same with us, we saw huge improvement in XE6 over XE5 in our mobile apps on both iOS and Android.As for XE7, we haven't ported our apps to XE7 yet, so no feedback yet...

Stef
Brian Hamilton ...

Posts: 556
Registered: 10/14/04
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 6:54 PM   in response to: Stefanos Charal... in response to: Stefanos Charal...


Same with us, we saw huge improvement in XE6 over XE5 in our mobile apps on both iOS and Android.As for XE7, we haven't ported our apps to XE7 yet, so no feedback yet...

you will see even more improvements for mobile apps with XE7, especially with the scrolling smoothness of a Tlistbox
and the new multiform view is very good )

Eduardo Elias

Posts: 319
Registered: 9/20/12
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 1, 2014 4:11 AM   in response to: Brian Hamilton ... in response to: Brian Hamilton ...
Do you know if TListView with livebind is not only loading that is needed?
(paged loading of records)

I am using XE6 end right now it loads everything from the datasource it is
connected, that is so bad.

Eduardo

Same with us, we saw huge improvement in XE6 over XE5 in our mobile
apps on both iOS and Android.As for XE7, we haven't ported our apps
to XE7 yet, so no feedback yet...
you will see even more improvements for mobile apps with XE7,
especially with the scrolling smoothness of a Tlistbox

and the new multiform view is very good )
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 12:24 PM   in response to: Clement Doss in response to: Clement Doss
Clement,

| Between XE6 and XE7 there wasn't such a visible difference.

Even though I "acquired" XE6 with my SA, I never used it.

My current relevant experience is a jump from XE5 to XE7.

--

Q

1.19.1.372 (Q's Broken Toolbar.)

John Treder

Posts: 349
Registered: 8/2/02
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 31, 2014 5:55 PM   in response to: Quentin Correll in response to: Quentin Correll
Quentin Correll wrote:

Clement,

Between XE6 and XE7 there wasn't such a visible difference.

Even though I "acquired" XE6 with my SA, I never used it.

My current relevant experience is a jump from XE5 to XE7.

Mine too. And I really like XE7. It "feels good."

--
don't Tred on me
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 1, 2014 5:38 AM   in response to: John Treder in response to: John Treder
John,

| | My current relevant experience is a jump from XE5 to XE7.
|
| Mine too. And I really like XE7. It "feels good."

Ditto!

--

Q

1.19.1.372 (Q's Broken Toolbar.)

Stefanos Charal...

Posts: 4
Registered: 9/9/10
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 1, 2014 1:41 PM   in response to: Quentin Correll in response to: Quentin Correll
I would have to mark this post as one of my favorites. Let me explain. Through the last year i was tired of reading posts all about complaints, criticism and disappointment. I did not even bother to comment although my opinion was quite the opposite. People tend to focus on the little bad things and loose the big picture, and that is that EMB brought Delphi back on the first line of development platforms. Maybe the way they marketed it, or the way they 'handled' some old customers did not make everybody happy, but the truth is that they 'resurrected' all of as Delphi lovers. I remember, not so long ago, i had the feeling that i was becoming a 'dinosaur' and eventually would extinct. So it is nice to see a post that people actually have something good to say about Delphi and EMB.

Stef

Edited by: Stefanos Charalampous on Nov 1, 2014 1:41 PM
Aage Johansen

Posts: 23
Registered: 9/27/00
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 1, 2014 2:50 PM   in response to: Quentin Correll in response to: Quentin Correll
Den 30.10.2014 22:30, skrev Quentin Correll:
Over some years past I remember being a tad disappointed with slightly
diminished performance of my "big-app" executable with each new
Delphi/RAD Studio Pro release. (In the 4% to 7% range each time.)

I have just finished installing XE7, complete with ALL of my 3rd-party
components. So one of the first things I did was to re-run a couple of
my intensive performance tests with my "new" XE7 compiled big-app.
Imagine my welcome surprise and pleasure to find that my big-app's XE7
compiled executable OUT-PERFORMED ALL prior XE, XE2 and XE5 compiled
big-app executables!!!

(I could not compare to old, prior to XE, executables since I have made
changes to the underlying database tables and the old executables no
longer correctly run the tests.)

The performance improvement, over five test-runs, averaged 8%!!!!!!!

I know this is only a single example but, hey,... Well done EMBT!!!


What is the reason for the speed increase?
- New, optimized 3rd party components
- Optimizations in the Delphi RTL
- New optimizations in the compiled code
Is it possible for you to make a (informed) guess?

--
Aage J-
Eli M

Posts: 1,346
Registered: 11/9/13
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 1, 2014 9:02 PM   in response to: Aage Johansen in response to: Aage Johansen
I loaded 600 and then 2400 items (text only) in TListView in XE7 on IOS and it was smooth as silk. I don't know what the speed was on previous versions however.
Bruce McGee

Posts: 1,716
Registered: 9/30/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 2, 2014 4:11 AM   in response to: Eli M in response to: Eli M
Eli M wrote:

I loaded 600 and then 2400 items (text only) in TListView in XE7 on
IOS and it was smooth as silk. I don't know what the speed was on
previous versions however.

A while ago, someone was showing off one of the FireMonkey demos that
ships with the product compiled in XE2 and XE5 from the same source. It
behaved much better in XE5.

FireMonkey got off to a rough start, imho, but it's being fixed and
improved in every update and release.

Which is another good reason to have SA.

--
Regards,
Bruce McGee
Glooscap Software
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 2, 2014 1:20 AM   in response to: Aage Johansen in response to: Aage Johansen
Am 01.11.2014 22:50, schrieb Aage Johansen:


What is the reason for the speed increase?
- New, optimized 3rd party components
- Optimizations in the Delphi RTL
- New optimizations in the compiled code
Is it possible for you to make a (informed) guess?

Hello,

in case of FMX quite a few improvements in the FMX code and some smaller
ones in its architecture.

As for RTL: gthey undid a few "regressions" which had been introduced
in the last few releases like unoptimized code in TStream.

Greetings

Markus
Bruce McGee

Posts: 1,716
Registered: 9/30/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 2, 2014 2:18 PM   in response to: Markus Humm in response to: Markus Humm
Markus Humm wrote:

As for RTL: gthey undid a few "regressions" which had been introduced
in the last few releases like unoptimized code in TStream.

The last time Q did some benchmarking, he (eventually) found some
runtime performance improvements between XE2 and XE5 (I think).

I remember thinking that it would be interesting to put together some
reasonably sane benchmarks and compare the same source code across
different compilers.

--
Regards,
Bruce McGee
Glooscap Software
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 3, 2014 11:05 AM   in response to: Bruce McGee in response to: Bruce McGee
Bruce,

| I remember thinking that it would be interesting to put together some
| reasonably sane benchmarks and compare the same source code across
| different compilers.

That's a good idea!

Unfortunately, for me, I no longer have several older RAD Studio
environments on my system. I had tried to maintain several, going back
to D7, on a hard drive VM environment. But it crashed-and-burned.
<sigh>

For a while I had D2007, D2010, XE, XE2 and XE5 on this main system. I
had a non-trivial crash and when I re-built I decided to just keep XE5.
To which I have now added XE7.

The main issue, of course, is that it's a LOT of time-consuming
non-paying work to maintain such environments and test apps! <g>

--

Q

1.19.1.372 (Q's Broken Toolbar.)
Bruce McGee

Posts: 1,716
Registered: 9/30/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 3, 2014 11:22 AM   in response to: Quentin Correll in response to: Quentin Correll
Quentin Correll wrote:
Bruce,

| I remember thinking that it would be interesting to put together some
| reasonably sane benchmarks and compare the same source code across
| different compilers.

That's a good idea!

Unfortunately, for me, I no longer have several older RAD Studio
environments on my system.

I have every version of Delphi (except 8) installed in VMs.

I'll consolidate a few of these into fewer VMs as I clean up old projects, but it's not a bad starting point.

--
Regards
Bruce McGee
Glooscap Software
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 3, 2014 12:21 PM   in response to: Bruce McGee in response to: Bruce McGee
Bruce,

| I have every version of Delphi (except 8) installed in VMs.

Cool! Good luck on keeping them viable!!!

BTW,... do you have the same 3rd-party components installed in all of
them? That was an issue I was never able to resolve as some of the
"early" vendors went bye-bye or I decided that I could not afford the
updates/upgrades of some others.

If I can help with some standardized test apps please let me know.

--

Q

1.19.1.372 (Q's Broken Toolbar.)
Bruce McGee

Posts: 1,716
Registered: 9/30/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 3, 2014 12:29 PM   in response to: Quentin Correll in response to: Quentin Correll
Quentin Correll wrote:
Bruce,

| I have every version of Delphi (except 8) installed in VMs.

Cool! Good luck on keeping them viable!!!

So far so good.

BTW,... do you have the same 3rd-party components installed in all of
them? That was an issue I was never able to resolve as some of the
"early" vendors went bye-bye or I decided that I could not afford the
updates/upgrades of some others.

Not in all of them.

I stopped using some components and adopted others over time.

However, I have a few VMs where I have installed the latest versions of several IDEs with no third party components, aside from any that are installed by default.

--
Regards
Bruce McGee
Glooscap Software
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 3, 2014 3:14 PM   in response to: Bruce McGee in response to: Bruce McGee
Bruce,

| However, I have a few VMs where I have installed the latest versions
| of several IDEs with no third party components, aside from any that
| are installed by default.

That is the "lowest-common-denominator" environment.

--

Q

1.19.1.372 (Q's Broken Toolbar.)
Bruce McGee

Posts: 1,716
Registered: 9/30/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 4, 2014 2:43 AM   in response to: Quentin Correll in response to: Quentin Correll
Quentin Correll wrote:

Bruce,

However, I have a few VMs where I have installed the latest
versions of several IDEs with no third party components, aside
from any that are installed by default.

That is the "lowest-common-denominator" environment.

It's an "apples to apples" environment. I'm testing Delphi, not third
party add-ons or libraries.

Of course, I could take a snapshot and install some third party code if
I wanted to test it specifically.

I love working with virtual machines.

--
Regards,
Bruce McGee
Glooscap Software
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 3, 2014 12:14 PM   in response to: Bruce McGee in response to: Bruce McGee
Am 02.11.2014 23:18, schrieb Bruce McGee:
Markus Humm wrote:

As for RTL: gthey undid a few "regressions" which had been introduced
in the last few releases like unoptimized code in TStream.

The last time Q did some benchmarking, he (eventually) found some
runtime performance improvements between XE2 and XE5 (I think).

I remember thinking that it would be interesting to put together some
reasonably sane benchmarks and compare the same source code across
different compilers.

Hello,

if I'm not mistaken somebody did some extensive performance testing just
a while back. You surely will find the posts here. Afaik he also tested
FMX performance or something like this.

Greetings

Markus
Bruce McGee

Posts: 1,716
Registered: 9/30/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 3, 2014 2:30 PM   in response to: Markus Humm in response to: Markus Humm
Markus Humm wrote:

if I'm not mistaken somebody did some extensive performance testing
just a while back. You surely will find the posts here. Afaik he also
tested FMX performance or something like this.

That sounds useful, but I don't remember it. Do you have a link?

--
Regards,
Bruce McGee
Glooscap Software
Bert Binnenmarsch

Posts: 8
Registered: 5/4/00
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 4, 2014 8:02 AM   in response to: Bruce McGee in response to: Bruce McGee
Bruce McGee wrote:

Markus Humm wrote:

if I'm not mistaken somebody did some extensive performance testing
just a while back. You surely will find the posts here. Afaik he
also tested FMX performance or something like this.

That sounds useful, but I don't remember it. Do you have a link?

http://blogs.riversoftavg.com/index.php/2014/05/12/performance-comparison-from-delphi-2010-to-xe6-part-2/
Bruce McGee

Posts: 1,716
Registered: 9/30/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 4, 2014 9:25 AM   in response to: Bert Binnenmarsch in response to: Bert Binnenmarsch
Bert Binnenmarsch wrote:
Bruce McGee wrote:

Markus Humm wrote:

if I'm not mistaken somebody did some extensive performance testing
just a while back. You surely will find the posts here. Afaik he
also tested FMX performance or something like this.

That sounds useful, but I don't remember it. Do you have a link?

http://blogs.riversoftavg.com/index.php/2014/05/12/performance-comparison-from-delphi-2010-to-xe6-part-2/

At first I thought this was just a comparison of compile times and executable size, which isn't that interesting to me, but it's a lot more detailed than that.

http://blogs.riversoftavg.com/index.php/2014/05/12/performance-comparison-from-delphi-2010-to-delphi-xe6-introduction/

Kudos. This took a lot of effort.

I wonder if they plan to re-run the tests to include Delphi XE7?

--
Regards
Bruce McGee
Glooscap Software
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 4, 2014 9:58 AM   in response to: Bruce McGee in response to: Bruce McGee
Bruce,

| Kudos. This took a lot of effort.
|
| I wonder if they plan to re-run the tests to include Delphi XE7?

I hope so!

--

Q

1.19.1.372 (Q's Broken Toolbar.)
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 4, 2014 9:54 AM   in response to: Bert Binnenmarsch in response to: Bert Binnenmarsch
Bert,

| | > if I'm not mistaken somebody did some extensive performance
| | testing > just a while back. You surely will find the posts here.
| | Afaik he > also tested FMX performance or something like this.
| |
| | That sounds useful, but I don't remember it. Do you have a link?
|

http://blogs.riversoftavg.com/index.php/2014/05/12/performance-comparison-from-delphi-2010-to-xe6-part-2/

Makes one wonder why we ever left XE2! <sigh>

--

Q

1.19.1.372 (Q's Broken Toolbar.)

Bruce McGee

Posts: 1,716
Registered: 9/30/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 4, 2014 11:55 AM   in response to: Quentin Correll in response to: Quentin Correll
Quentin Correll wrote:
Bert,

| | > if I'm not mistaken somebody did some extensive performance
| | testing > just a while back. You surely will find the posts here.
| | Afaik he > also tested FMX performance or something like this.
| |
| | That sounds useful, but I don't remember it. Do you have a link?
|

http://blogs.riversoftavg.com/index.php/2014/05/12/performance-comparison-from-delphi-2010-to-xe6-part-2/

Makes one wonder why we ever left XE2! <sigh>

The performance improvements you observed in your app, for one.

Comparing features would take a lot more space.

--
Regards
Bruce McGee
Glooscap Software
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 4, 2014 4:15 PM   in response to: Bruce McGee in response to: Bruce McGee
Bruce,

| | Makes one wonder why we ever left XE2! <sigh>
|
| The performance improvements you observed in your app, for one.

<chuckle> Touché! ;-)

--

Q

1.19.1.372 (Q's Broken Toolbar.)
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: Nice Surprise...
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 2, 2014 10:57 AM   in response to: Aage Johansen in response to: Aage Johansen
Aage,

| What is the reason for the speed increase?

Damifino. I just use XE7, I didn't work on writing it. <g> But I also
wondered the same wonder.

| - New, optimized 3rd party components
| - Optimizations in the Delphi RTL
| - New optimizations in the compiled code
| Is it possible for you to make a (informed) guess?

At this point I would have to just say: "All of the above except #1."

The reason being that almost ALL of my 3rd-party components are the
SAME for both XE7 and XE5. When I installed them for XE7 they also
installed into XE5.

I am going to have to go with my experience with my "big-app" being due
to Embarcadero! -- That's MY "informed guess."

--

Q

1.19.1.372 (Q's Broken Toolbar.)

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02