[MPlayer-dev-eng] [PATCH] -fno-strict-aliasing on gcc > 3
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Jul 12 10:54:56 CEST 2005
Hi,
On Tue, Jul 12, 2005 at 12:34:48AM +0200, Diego Biurrun wrote:
> Please benchmark, MPlayer is the fastest player and we should try to
> keep it that way.
Fixing design issues and (assembler) optimizing will certainly help a
lot more than wasting our time with that compiler option.
Anyways I attached my results, take them with a big grain of salt since
1) I run only one test each
2) I forgot to shut down frequency scaling first
And no, I don't know for sure why -vo xv has better values than -vo
null.
Anyway I'd say the values are well in the error margin.
Greetings,
Reimar Döffinger
-------------- next part --------------
compiled with gcc 3.4.4 (Debian)
===============
MPEG2/MP3:
===============
-vo xv -ao oss (MPEG2/MP3)
real 3m31.841s
user 0m20.541s
sys 0m2.883s
-no-strict-aliasing:
real 3m31.899s
user 0m20.665s
sys 0m3.683s
=================
-vo xv -nosound -benchmark
BENCHMARKs: VC: 3.375s VO: 6.633s A: 0.000s Sys: 1.132s = 11.140s
BENCHMARK%: VC: 30.2932% VO: 59.5462% A: 0.0000% Sys: 10.1606% = 100.0000%
real 0m11.286s
user 0m8.939s
sys 0m0.199s
-no-strict-aliasing:
BENCHMARKs: VC: 3.459s VO: 6.807s A: 0.000s Sys: 1.179s = 11.445s
BENCHMARK%: VC: 30.2245% VO: 59.4747% A: 0.0000% Sys: 10.3008% = 100.0000%
real 0m11.597s
user 0m8.532s
sys 0m0.209s
==================
-vo null -nosound -benchmark
BENCHMARKs: VC: 3.311s VO: 13.896s A: 0.000s Sys: 0.997s = 18.205s
BENCHMARK%: VC: 18.1879% VO: 76.3331% A: 0.0000% Sys: 5.4790% = 100.0000%
real 0m18.343s
user 0m16.689s
sys 0m0.162s
-no-strict-aliasing:
BENCHMARKs: VC: 3.401s VO: 13.437s A: 0.000s Sys: 0.981s = 17.819s
BENCHMARK%: VC: 19.0842% VO: 75.4103% A: 0.0000% Sys: 5.5054% = 100.0000%
real 0m17.959s
user 0m16.257s
sys 0m0.178
===================
High-Def h264:
===================
-vo xv -ao oss
real 0m26.495s
user 0m23.276s
sys 0m0.301s
-no-strict-aliasing:
real 0m27.145s
user 0m23.848s
sys 0m0.308s
==============
-vo xv -nosound -benchmark
BENCHMARKs: VC: 17.255s VO: 9.461s A: 0.000s Sys: 0.248s = 26.964s
BENCHMARK%: VC: 63.9934% VO: 35.0866% A: 0.0000% Sys: 0.9200% = 100.0000%
real 0m27.116s
user 0m23.538s
sys 0m0.267s
-no-strict-aliasing:
BENCHMARKs: VC: 16.939s VO: 9.110s A: 0.000s Sys: 0.248s = 26.297s
BENCHMARK%: VC: 64.4129% VO: 34.6435% A: 0.0000% Sys: 0.9436% = 100.0000%
real 0m26.447s
user 0m23.406s
sys 0m0.306s
==============
-vo null -nosound -benchmark
BENCHMARKs: VC: 17.115s VO: 6.751s A: 0.000s Sys: 0.179s = 24.046s
BENCHMARK%: VC: 71.1779% VO: 28.0770% A: 0.0000% Sys: 0.7452% = 100.0000%
real 0m24.187s
user 0m22.982s
sys 0m0.173s
-no-strict-aliasing:
BENCHMARKs: VC: 17.383s VO: 6.687s A: 0.000s Sys: 0.175s = 24.245s
BENCHMARK%: VC: 71.6979% VO: 27.5808% A: 0.0000% Sys: 0.7213% = 100.0000%
real 0m24.386s
user 0m23.063s
sys 0m0.181s
More information about the MPlayer-dev-eng
mailing list