This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Speed issues taken seriously?


larsbj@gullik.net (Lars Gullik Bjønnes) writes:

| Andreas Jaeger <aj@suse.de> writes:
>
| | larsbj@gullik.net (Lars Gullik Bjønnes) writes:
>>
>>> I just thought that I'd see how gcc 3.3.2 (CVS) and 3.4(CVS) compared,
>>> I was hoping (expecting) the recent months long threads on compile
>>> performance to have had an effect... the result was a bit
>>> disappointing...
>>
| | How did you configure GCC exactly?  Please use --disable-checking so
| | that the checking code is disabled, it causes some run-time overhead.
>
| I'll redo my tests with this.

Test redone.

g++ (GCC) 3.4 20031010 (experimental)

real    24m20.049s
user    22m17.930s
sys     1m45.420s

ls -l src/lyx-xforms src/lyx-qt
-rwxrwxr-x    1 larsbj   larsbj    5837084 Oct 10 18:18 src/lyx-qt
-rwxrwxr-x    1 larsbj   larsbj    5513413 Oct 10 18:18 src/lyx-xforms

size src/lyx-xforms src/lyx-qt
   text    data     bss     dec     hex filename
3907253   18948   53660 3979861  3cba55 src/lyx-xforms
4088833   17180   28732 4134745  3f1759 src/lyx-qt

So a lot better, but still a bit disappointing, since the compilation
time is still increasing.

PS. Gcc configured like this:

../configure --prefix=/opt/gcc34 --enable-languages=c,c++ --disable-checking

-- 
	Lgb


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]