| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Wed Oct 18, 2006 2:42 pm Post subject: TC++ performance |
|
|
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
|
Posted: Wed Oct 18, 2006 4:04 pm Post subject: Re: TC++ performance |
|
|
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
|
Posted: Wed Oct 18, 2006 6:54 pm Post subject: TC++ performance, SOLVED |
|
|
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
|
Posted: Wed Oct 18, 2006 7:24 pm Post subject: Re: TC++ performance, SOLVED |
|
|
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 |
|
 |
|