Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

C::B with DM or vc++?

<< < (2/8) > >>

grunerite:

--- Quote from: mandrav on February 22, 2006, 02:04:41 pm ---GCC generated executables are not slower than MSVS's nor DM's.

--- End quote ---
Hey,

I've been looking for some good #'s that show this. I tend to agree with you, at least at face value I see no difference in execution speed, responsiveness to resizing windows of apps, etc. But, I'd like to find some real data that shows this, to convince some others this is the case.

Do you have any references for this statement, because I can't find any good test comparisons?
Cheers

Trikko:

--- Quote from: mandrav on February 22, 2006, 02:04:41 pm ---I 'd like to see some facts please.
I can tell you it's 3 times faster but if I don't show you the facts, it's not worth anything...

--- End quote ---

About compile time: try to compile wxWidgets.
About performance and antigrain. I was referring to an example included with antigrain distro.
It's a simple benchmark with some performance value about drawing line points ecc, not really a good one for a compiler, but it could give you an idea. On my machine f.e. first value is 60k/s (points) for digital mars, 40/s for visual c++ and 10kb/s (!) for mingw. I have no more mingw installed so i can't compile it but i remember the value... (and i have a bug with C::B that tells me it can't found mingw-g++ ...) If you don't trust me, you can do some test by yourself.

I tried it also with many other example, with my simple wxapp difference is small, but in some case you can taste it (usually in frame loading time and complex operations...). I think that in codeblocks this difference could be bigger.

By the way it's just an opinion. Maybe i'm wrong about it.  In this case don't worry and go on compiling this fantastic ide with mingw! :)

A. Fontana

takeshimiya:

--- Quote from: grunerite on February 22, 2006, 08:05:03 pm ---Do you have any references for this statement, because I can't find any good test comparisons?

--- End quote ---

An example is the fact that all windows unofficial builders of Firefox uses MSVC compiler. I can say that those unofficial builds makes Firefox a lot faster, and there are benchmarks about it (JavaScript benchs, loading of images, etc). The app feels a lot more responsive also.

But I think we shouldn't start a compiler1 vs. compiler2 thing.

I think the only real truth is that no one compiler is overall better than other. Each one haves their own strenghts.
Nothing stops you to use more than one, and experience tells that it leads to more better and portable code (some compilers don't bail out, were others does).

Trikko:
For example i think it could be useful for codecompletition that takes a lot to parse all wxWidgets classes... (but it's really useful).

About CodeCompletition i have a simil bug report. When popup tips window appear Managment pane, Open file list pane, menu bar, status bar and icons on toolbar blink... Message pane and main tabbed window does not. Is it possible to correct these blinks/flicks?

A. Fontana

NeXuS:

--- Quote from: Trikko on February 22, 2006, 01:51:41 pm ---I've done several test with wxwidgets and other libs (f.e. antigrain) to test compiler performances. It seems that gcc it's slow to compile, make big exes and they are poorly optimized. For example on antigrain benchmark gcc is 4/5 times slower than dmc and vc++... I know you use mingw to improve performace, but i wonder if anyone have tried to compile it with other compilers...

--- End quote ---

In my very humble opinion and to my experience only the statement on file sieze is true.
I am currently using both VS 2006 and Codeblocks with mingw:
- Compile times are faster with mingw than MS compiler (it's just my feeling, I don't have exact times for MS compiler but I think it's kind of slower
- Execution times, when code is compiled with proper optimizations, it almost the same. Depending on the instruction mix sometimes mingw produces faster code, other times MS compiler works better.
- Executables are indeed a little bit fatter when produced with mingw


This is just my two euro cents of wisdom.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version