Add a percentage change column
- This is the decoder fps change percentage from one day before. Change-Id: Id2ebf158e49787e589908faba77b340b9a9212c6
This commit is contained in:
@@ -10,6 +10,9 @@ log_path=~/Dev/log
|
||||
date_str=`date +%b_%d_%Y`
|
||||
log_file=report_$date_str.txt
|
||||
|
||||
yest_str=`date -d yesterday +%b_%d_%Y`
|
||||
yest_log_file=report_$yest_str.txt
|
||||
|
||||
test_dir=~/Dev/nightly
|
||||
rm $test_dir/*
|
||||
|
||||
@@ -17,17 +20,23 @@ rm $test_dir/*
|
||||
$script_path/sync_codebase.sh $av1_code/aom > $log_path/$log_file 2>&1
|
||||
|
||||
$script_path/av1_conf_build.sh $av1_code >> $log_path/$log_file 2>&1
|
||||
$script_path/nightly_speed.sh $av1_code 0 >> $log_path/$log_file 2>&1
|
||||
$script_path/nightly_speed.sh $av1_code 2 >> $log_path/$log_file 2>&1
|
||||
|
||||
pdfps=`cat $log_path/$yest_log_file | grep e_ok | awk '{print $2}' | awk 'NR==1 {print $1}'`
|
||||
$script_path/nightly_speed.sh $av1_code 0 $pdfps >> $log_path/$log_file 2>&1
|
||||
|
||||
pdfps=`cat $log_path/$yest_log_file | grep e_ok | awk '{print $2}' | awk 'NR==2 {print $1}'`
|
||||
$script_path/nightly_speed.sh $av1_code 2 $pdfps >> $log_path/$log_file 2>&1
|
||||
|
||||
# VP9
|
||||
$script_path/sync_codebase.sh $vp9_code/libvpx >> $log_path/$log_file 2>&1
|
||||
|
||||
$script_path/vp9_conf_build.sh $vp9_code lowbitdepth >> $log_path/$log_file 2>&1
|
||||
$script_path/vp9_nightly_speed.sh $vp9_code 0 >> $log_path/$log_file 2>&1
|
||||
pdfps=`cat $log_path/$yest_log_file | grep e_ok | awk '{print $2}' | awk 'NR==3 {print $1}'`
|
||||
$script_path/vp9_nightly_speed.sh $vp9_code 0 $pdfps >> $log_path/$log_file 2>&1
|
||||
|
||||
$script_path/vp9_conf_build.sh $vp9_code highbitdepth >> $log_path/$log_file 2>&1
|
||||
$script_path/vp9_nightly_speed.sh $vp9_code 2 >> $log_path/$log_file 2>&1
|
||||
pdfps=`cat $log_path/$yest_log_file | grep e_ok | awk '{print $2}' | awk 'NR==4 {print $1}'`
|
||||
$script_path/vp9_nightly_speed.sh $vp9_code 2 $pdfps >> $log_path/$log_file 2>&1
|
||||
|
||||
users=luoyi
|
||||
host_name=`hostname`
|
||||
|
@@ -20,12 +20,14 @@
|
||||
# 1) profile=2
|
||||
# 2) bitdepth="--bit-depth=10/12"
|
||||
|
||||
if [ "$#" -ne 2 ]; then
|
||||
if [ "$#" -ne 3 ]; then
|
||||
root_dir=~/Dev/av1d
|
||||
profile=0
|
||||
pdfps=1
|
||||
else
|
||||
root_dir=$1
|
||||
profile=$2
|
||||
pdfps=$3
|
||||
fi
|
||||
|
||||
if [ "$profile" == "2" ]; then
|
||||
@@ -95,8 +97,9 @@ fi
|
||||
dfps=`awk '{print $9}' < $dlog`
|
||||
dfps=`echo $dfps | sed 's/(//'`
|
||||
|
||||
echo -e '\t'"Enc fps Dec fps PSNR"'\t\t\t\t\t\t\t'"Enc status Dec status"
|
||||
echo -e '\t'$efps" "$dfps" "$psnr'\t'$eflag" "$dflag
|
||||
percent=`echo "($dfps - $pdfps) / $pdfps * 100" | bc -l`
|
||||
percent=${percent:0:5}
|
||||
|
||||
echo -e '\t'"Enc fps Dec fps PSNR"'\t\t\t\t\t\t\t'"Enc status Dec status Change (%)"
|
||||
echo -e '\t'$efps" "$dfps" "$psnr'\t'$eflag" "$dflag" "$percent
|
||||
printf "\n"
|
||||
|
||||
|
||||
|
@@ -1,11 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
# video=~/Dev/samples/videos/yaowu/soccer_cif.y4m
|
||||
# wi=352
|
||||
# he=288
|
||||
# frames=5
|
||||
# bitrate=500
|
||||
# fps="30/1"
|
||||
video=~/Dev/samples/videos/yaowu/soccer_cif.y4m
|
||||
wi=352
|
||||
he=288
|
||||
frames=5
|
||||
bitrate=500
|
||||
fps="30/1"
|
||||
|
||||
# video=~/Dev/samples/videos/speed-set/touchdown_pass_480p.y4m
|
||||
# wi=854
|
||||
@@ -14,9 +14,9 @@
|
||||
# bitrate=600
|
||||
# fps="30000/1001"
|
||||
|
||||
video=~/Dev/samples/videos/speed-set/BasketballDrive_1920x1080_50.y4m
|
||||
wi=1920
|
||||
he=1080
|
||||
frames=150
|
||||
bitrate=4000
|
||||
fps="50/1"
|
||||
# video=~/Dev/samples/videos/speed-set/BasketballDrive_1920x1080_50.y4m
|
||||
# wi=1920
|
||||
# he=1080
|
||||
# frames=150
|
||||
# bitrate=4000
|
||||
# fps="50/1"
|
||||
|
@@ -20,12 +20,14 @@
|
||||
# 1) profile=2
|
||||
# 2) bitdepth="--bit-depth=10/12"
|
||||
|
||||
if [ "$#" -ne 2 ]; then
|
||||
if [ "$#" -ne 3 ]; then
|
||||
root_dir=~/Dev/vp9d
|
||||
profile=0
|
||||
pdfps=1
|
||||
else
|
||||
root_dir=$1
|
||||
profile=$2
|
||||
pdfps=$3
|
||||
fi
|
||||
|
||||
if [ "$profile" == "2" ]; then
|
||||
@@ -83,7 +85,10 @@ fi
|
||||
dfps=`awk '{print $9}' < $dlog`
|
||||
dfps=`echo $dfps | sed 's/(//'`
|
||||
|
||||
echo -e '\t'"Enc fps Dec fps PSNR"'\t\t\t\t\t\t\t'"Enc status Dec status"
|
||||
echo -e '\t'$efps" "$dfps" "$psnr'\t'$eflag" "$dflag
|
||||
percent=`echo "($dfps - $pdfps) / $pdfps * 100" | bc -l`
|
||||
percent=${percent:0:5}
|
||||
|
||||
echo -e '\t'"Enc fps Dec fps PSNR"'\t\t\t\t\t\t\t'"Enc status Dec status Change(%)"
|
||||
echo -e '\t'$efps" "$dfps" "$psnr'\t'$eflag" "$dflag" "$percent
|
||||
printf "\n"
|
||||
|
||||
|
Reference in New Issue
Block a user