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: 8x compilation time increase after r157834


On Fri, Apr 2, 2010 at 8:47 PM, Roman Kononov <roman@binarylife.net> wrote:
> Hi,
>
> r157834 of the trunk made compilation time almost 8(eight!) times
> longer. The time went from 38 to 291 seconds.
>
> $ svnversion ~/src/gcc
> 157833
> $ make -C ~/src/gcc install
> ...
> $ /usr/bin/time g++ -std=c++0x -O2 -g -Wall -Werror -Wno-unused \
> -Wno-parentheses -I../ check.cpp -o check -MMD -lrt
> 37.65user 0.56system 0:38.26elapsed 99%CPU (0avgtext+0avgdata \
> 0maxresident)k
> 0inputs+0outputs (0major+85545minor)pagefaults 0swaps
>
> $ svnversion ~/src/gcc
> 157834
> $ make -C ~/src/gcc install
> ...
> $ /usr/bin/time g++ -std=c++0x -O2 -g -Wall -Werror -Wno-unused \
> -Wno-parentheses -I../ check.cpp -o check -MMD -lrt
> 290.90user 0.63system 4:51.56elapsed 99%CPU (0avgtext+0avgdata \
> 0maxresident)k
> 0inputs+0outputs (0major+101971minor)pagefaults 0swaps
>
> $ g++ -dumpmachine
> x86_64-unknown-linux-gnu
>
> Configured by
> $ ./configure --prefix=$HOME/gcc --disable-multilib
>
> Would it be acceptable to revert c157834 or it fixes an important bug?
> It is unclear from the commit log message and the 43593 bugzilla report.
> I did not notice any influence of c157834 to the compiled program
> performance.

The patch is about debuginfo.  Can you file a bugzilla and attach
preprocessed source for the testcase?

Thanks,
Richard.

> Thanks,
>
> Roman
>
>
>


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