-
Notifications
You must be signed in to change notification settings - Fork 217
/
chain-cmps.sh
executable file
·28 lines (22 loc) · 1.08 KB
/
chain-cmps.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
mlrs="mlr"
if [ $# -ge 1 ]; then
mlrs="$@"
fi
#reps="1"
reps="1 2 3"
echo; for mlr in $mlrs; do for k in $reps; do justtime $mlr --csv --from ~/tmp/big.csv check > /dev/null; done; done
echo; for mlr in $mlrs; do for k in $reps; do justtime $mlr --csv --from ~/tmp/big.csv cat > /dev/null; done; done
echo; for mlr in $mlrs; do for k in $reps; do justtime $mlr --csv --from ~/tmp/big.csv tail > /dev/null; done; done
echo; for mlr in $mlrs; do for k in $reps; do justtime $mlr --csv --from ~/tmp/big.csv tac > /dev/null; done; done
echo; for mlr in $mlrs; do for k in $reps; do
justtime $mlr --csv --from ~/tmp/big.csv sort -f shape > /dev/null;
done; done
echo; for mlr in $mlrs; do for k in $reps; do
justtime $mlr --csv --from ~/tmp/big.csv sort -n quantity > /dev/null;
done; done
echo; for mlr in $mlrs; do for k in $reps; do
justtime $mlr --c2p stats1 -a min,mean,max -f quantity,rate -g shape ~/tmp/big.csv > /dev/null
done; done
echo; for mlr in $mlrs; do for k in $reps; do
justtime $mlr --csv --from ~/tmp/big.csv put -f scripts/chain-1.mlr > /dev/null
done; done