Skip to content

Commit

Permalink
Cleanup script
Browse files Browse the repository at this point in the history
  • Loading branch information
enirolf committed May 5, 2023
1 parent 389d01b commit a458dd1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions bm_readspeed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ function bm_readspeed() {

mkdir -p $results_dir

phys_file_type=data
# for phys_file_type in {data,mc}; do
for phys_file_type in {data,mc}; do
for compression in {0,201,207,505}; do
source_file=${SOURCE_DIR}/${phys_file_type}/DAOD_PHYS.${storage_type}.root~${compression}
results_file=${results_dir}/readspeed_${phys_file_type}_${compression}.txt
Expand All @@ -38,7 +37,7 @@ function bm_readspeed() {
echo "$results" >> $results_file
done
done
# done
done
}

function main() {
Expand All @@ -57,5 +56,3 @@ fi
N_REPETITIONS=${2:-10}

main ${3:-results/}

# RDF.RPageSourceFile.bwRead|MB/s|bandwidth compressed bytes read per second|2928.577908

0 comments on commit a458dd1

Please sign in to comment.