comparison TOOLS/benchmark-gab/benchmark @ 7184:bcbbe5ee11fd

v0.91 small misc fixes 100l fix, for xv+xmga benchmarks, only VC was benchmarked, now total time everywhere
author gabucino
date Sat, 31 Aug 2002 08:16:44 +0000
parents cba37985dec5
children c36333ff54b0
comparison
equal deleted inserted replaced
7183:6f7ae14f29a8 7184:bcbbe5ee11fd
11 wrtlog Options for this run: 11 wrtlog Options for this run:
12 wrtlog "$DEFAULTOPTS" 12 wrtlog "$DEFAULTOPTS"
13 wrtlog "Options for this file:" 13 wrtlog "Options for this file:"
14 wrtlog "$BENCHOPTS" 14 wrtlog "$BENCHOPTS"
15 BENCH="`$BUILD/mplayer $DEFAULTOPTS $BENCHOPTS $i 2>&1 | grep BENCHMARKs`" 15 BENCH="`$BUILD/mplayer $DEFAULTOPTS $BENCHOPTS $i 2>&1 | grep BENCHMARKs`"
16 VC=`echo $BENCH | awk '{print $3}'` 16 VC=`echo $BENCH | awk '{print $11}'`
17 SYS=`echo $BENCH | awk '{print $9}'` 17 SYS=`echo $BENCH | awk '{print $9}'`
18 wrtlog VC: $VC \(Sys: $SYS\) 18 wrtlog Total: $VC \(Sys: $SYS\)
19 19
20 BENCH="`$BUILD/mplayer $DEFAULTOPTS $BENCHOPTS $i 2>&1 | grep BENCHMARKs`" 20 BENCH="`$BUILD/mplayer $DEFAULTOPTS $BENCHOPTS $i 2>&1 | grep BENCHMARKs`"
21 VC=`echo $BENCH | awk '{print $3}'` 21 VC=`echo $BENCH | awk '{print $11}'`
22 SYS=`echo $BENCH | awk '{print $9}'` 22 SYS=`echo $BENCH | awk '{print $9}'`
23 wrtlog VC: $VC \(Sys: $SYS\) 23 wrtlog Total: $VC \(Sys: $SYS\)
24 24
25 BENCH="`$BUILD/mplayer $DEFAULTOPTS $BENCHOPTS $i 2>&1 | grep BENCHMARKs`" 25 BENCH="`$BUILD/mplayer $DEFAULTOPTS $BENCHOPTS $i 2>&1 | grep BENCHMARKs`"
26 VC=`echo $BENCH | awk '{print $3}'` 26 VC=`echo $BENCH | awk '{print $11}'`
27 SYS=`echo $BENCH | awk '{print $9}'` 27 SYS=`echo $BENCH | awk '{print $9}'`
28 wrtlog VC: $VC \(Sys: $SYS\) 28 wrtlog Total: $VC \(Sys: $SYS\)
29 done 29 done
30 } 30 }
31 31
32 if [ ! -d samples ]; then 32 if [ ! -d samples ]; then
33 wrtlog Samples subdirectory not present, exiting... 33 wrtlog Samples subdirectory not present, exiting...
36 36
37 wrtlog Starting benchmarks 37 wrtlog Starting benchmarks
38 38
39 if [ ! -e no_codec ]; then 39 if [ ! -e no_codec ]; then
40 wrtlog Starting CODEC benchmark runs, with 3 tries... 40 wrtlog Starting CODEC benchmark runs, with 3 tries...
41 DEFAULTOPTS="-nosound -benchmark -vo null -vop disabled -autoq 0" 41 DEFAULTOPTS="-quiet -nosound -benchmark -vo null -vop disabled -autoq 0"
42 benchsamples 42 benchsamples
43 fi 43 fi
44 44
45 export DISPLAY=:0 45 export DISPLAY=:0
46 export XAUTHORITY=$HOME/.Xauthority 46 export XAUTHORITY=$HOME/.Xauthority
47 47
48 if [ ! -e no_xv ]; then 48 if [ ! -e no_xv ]; then
49 if [ ! -e no_xv_nodr ]; then 49 if [ ! -e no_xv_nodr ]; then
50 wrtlog Starting XVideo \(no DR\) benchmark runs, with 3 tries... 50 wrtlog Starting XVideo \(no DR\) benchmark runs, with 3 tries...
51 DEFAULTOPTS="-nosound -benchmark -vo xv -fs -nodr -slices -vop disabled -autoq 0" 51 DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -nodr -slices -vop disabled -autoq 0"
52 benchsamples 52 benchsamples
53 fi 53 fi
54 54
55 if [ ! -e no_xv_nodr_noslices ]; then 55 if [ ! -e no_xv_nodr_noslices ]; then
56 wrtlog Starting XVideo \(no DR\) \(no slices\) benchmark runs, with 3 tries... 56 wrtlog Starting XVideo \(no DR\) \(no slices\) benchmark runs, with 3 tries...
57 DEFAULTOPTS="-nosound -benchmark -vo xv -fs -nodr -noslices -vop disabled -autoq 0" 57 DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -nodr -noslices -vop disabled -autoq 0"
58 benchsamples 58 benchsamples
59 fi 59 fi
60 60
61 if [ ! -e no_xv_dr ]; then 61 if [ ! -e no_xv_dr ]; then
62 wrtlog Starting XVideo \(DR\) benchmark runs, with 3 tries... 62 wrtlog Starting XVideo \(DR\) benchmark runs, with 3 tries...
63 DEFAULTOPTS="-nosound -benchmark -vo xv -fs -dr -slices -vop disabled -autoq 0" 63 DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -dr -slices -vop disabled -autoq 0"
64 benchsamples 64 benchsamples
65 fi 65 fi
66 66
67 if [ ! -e no_xv_dr_noslices ]; then 67 if [ ! -e no_xv_dr_noslices ]; then
68 wrtlog Starting XVideo \(DR\) \(no slices\) benchmark runs, with 3 tries... 68 wrtlog Starting XVideo \(DR\) \(no slices\) benchmark runs, with 3 tries...
69 DEFAULTOPTS="-nosound -benchmark -vo xv -fs -dr -noslices -vop disabled -autoq 0" 69 DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -dr -noslices -vop disabled -autoq 0"
70 benchsamples 70 benchsamples
71 fi 71 fi
72 fi 72 fi
73 73
74 if [ -e xmga ]; then 74 if [ -e xmga ]; then
75 if [ ! -e xmga_nodr ]; then 75 if [ ! -e xmga_nodr ]; then
76 wrtlog Starting XMGA \(no DR\) benchmark runs, with 3 tries... 76 wrtlog Starting XMGA \(no DR\) benchmark runs, with 3 tries...
77 DEFAULTOPTS="-nosound -benchmark -vo xmga -fs -dr -slices -vop disabled -autoq 0" 77 DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -slices -vop disabled -autoq 0"
78 benchsamples 78 benchsamples
79 fi 79 fi
80 80
81 if [ ! -e xmga_nodr_noslices ]; then 81 if [ ! -e xmga_nodr_noslices ]; then
82 wrtlog Starting XMGA \(no DR\) \(no slices\) benchmark runs, with 3 tries... 82 wrtlog Starting XMGA \(no DR\) \(no slices\) benchmark runs, with 3 tries...
83 DEFAULTOPTS="-nosound -benchmark -vo xmga -fs -dr -noslices -vop disabled -autoq 0" 83 DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -noslices -vop disabled -autoq 0"
84 benchsamples 84 benchsamples
85 fi 85 fi
86 86
87 if [ ! -e xmga_dr ]; then 87 if [ ! -e xmga_dr ]; then
88 wrtlog Starting XMGA \(DR\) benchmark runs, with 3 tries... 88 wrtlog Starting XMGA \(DR\) benchmark runs, with 3 tries...
89 DEFAULTOPTS="-nosound -benchmark -vo xmga -fs -dr -vop disabled -autoq 0" 89 DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -vop disabled -autoq 0"
90 benchsamples 90 benchsamples
91 fi 91 fi
92 92
93 if [ ! -e xmga_dr ]; then 93 if [ ! -e xmga_dr ]; then
94 wrtlog Starting XMGA \(DR\) \(no slices\) benchmark runs, with 3 tries... 94 wrtlog Starting XMGA \(DR\) \(no slices\) benchmark runs, with 3 tries...
95 DEFAULTOPTS="-nosound -benchmark -vo xmga -fs -dr -noslices -vop disabled -autoq 0" 95 DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -noslices -vop disabled -autoq 0"
96 benchsamples 96 benchsamples
97 fi 97 fi
98 fi 98 fi
99 99
100 wrtlog Benchmarks ready 100 wrtlog Benchmarks ready