BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TC++ performance

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical)
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Wed Oct 18, 2006 2:42 pm    Post subject: TC++ performance Reply with quote



Hi, I've converted a project from BCB6 to TC++ (Exp edition) and I've successfully recompiled. However, when I perform the same operations with the two executables I have very different performances: to perform a simulation it takes 1 min and 47 seconds with BCB6 and about 10 min and 26 secs with TC++. They both are compiled in release mode and they made use of STL algorithms. Anyone had a similar experience or can geve me some suggestions?

Thank you in advance,

Luigi
Back to top
vavan
Guest





PostPosted: Wed Oct 18, 2006 4:04 pm    Post subject: Re: TC++ performance Reply with quote



On 18 Oct 2006 02:42:40 -0700, "Luigi" a.b.c wrote:

Quote:
Thank you in advance,

looks like "dinkumware style" of stl expects quite good level of
optimization from compiler while bcc32 is rather "pessimizing"
compiler (see recent thread)

it would be great if you could strip your project down to some simply
reproducible test case and post it in QC

--
Vladimir Ulchenko aka vavan
Back to top
Guest






PostPosted: Wed Oct 18, 2006 6:54 pm    Post subject: TC++ performance, SOLVED Reply with quote



I've discovered that during the conversion of the project some CodeGuard flags were enabled (There was no CG enabling in the original BCB6 project file) thus causing CG to be loaded even in Release mode compilation. After removing them the executable was twice faster than BCB6!!! Just 51 seconds!! Very GOOD!

Luigi
Back to top
vavan
Guest





PostPosted: Wed Oct 18, 2006 7:24 pm    Post subject: Re: TC++ performance, SOLVED Reply with quote

On 18 Oct 2006 06:54:38 -0700, "Luigi" a.b.c wrote:

then please don't put anything in QC, I don't think that such kind of
reports will ever force borlanders to try and improve their compiler
:)

glad you've found it

--
Vladimir Ulchenko aka vavan
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.