[MPlayer-users] compilation time

Horváth István suti at nuk.teteny.elte.hu
Fri Aug 23 14:57:02 CEST 2002


> > > just checked, i have no win32 dlls on teh notebook so the whole loader/dshow
> > > code was disabled. it probably save big amount of time...
> >
> > without gui, without win32-dll it saves me ~ 1 minute, so it takes about
> > 4min.
> > but i compiled it with gcc-3.2, is it matter?
> yes
> gcc 3 is much slower than 2.95. results few % faster binary in 1.5 times
> longer comp. time...
> also the target cpu may matter...
>
> > with this:
> > ./configure --cc=gcc-3.2 --disable-win32 --disable-xanim --disable-real
> > --disable-mencoder --disable-libfame --disable-png --disable-jpeg
> > --disable-vesa
> >
> > it compiles now in 3 minutes, but it is still a lot. how can i save more
> > time?
>
> replace -O4 by -O2, it makes around 3 times faster compile but slower result
> :) but with so many --disable it's already unusable so it doesn't matter :)

kuuul :)))
now compiles in 1:42 !!!! :)))

i replaced -O4 with -O1(not -O2), it compiled and the benchmark is this:

BENCHMARKs: VC:  11.451s VO:   0.017s A:   0.000s Sys:   1.749s = 13.217s
BENCHMARK%: VC: 86.6357% VO:  0.1282% A:  0.0000% Sys: 13.2361% = 100.0000%

but without the above replace the benchmark is this:
BENCHMARKs: VC:  11.347s VO:   0.015s A:   0.000s Sys:   1.586s = 12.948s
BENCHMARK%: VC: 87.6365% VO:  0.1168% A:  0.0000% Sys: 12.2467% = 100.0000%

as i can see, these are almost equivalent, but i don't know what is
exactly means the values that displayed, i didn't find it in the docs,
grep benchmark -i -r *, doesn't gave me much more result!





More information about the MPlayer-users mailing list