-
Notifications
You must be signed in to change notification settings - Fork 1
/
check.sh
31 lines (26 loc) · 825 Bytes
/
check.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
29
30
31
echo "Start"
LANG=en-us date
file="$(date "+%Y-%m-%d-%H-%M-%S")"
echo ""
echo "Serial (Enabled Logging) > $file-sl.log"
LANG=en-us date
python -u ./batch_test.py all -c 100 -w 1 > ./logs/$file-sl.log 2>&1
cat ./logs/$file-sl.log | tail -n 17
echo ""
echo "Serial (Disabled Logging) > $file-sn.log"
LANG=en-us date
python -u ./batch_test.py all -c 100 -f "" -w 1 > ./logs/$file-sn.log 2>&1
cat ./logs/$file-sn.log | tail -n 17
echo ""
echo "Parallel (Enabled Logging) > $file-pl.log"
LANG=en-us date
python -u ./batch_test.py all -c 1000 > ./logs/$file-pl.log 2>&1
cat ./logs/$file-pl.log | tail -n 17
echo ""
echo "Parallel (Disabled Logging) > $file-pn.log"
LANG=en-us date
python -u ./batch_test.py all -c 1000 -f "" > ./logs/$file-pn.log 2>&1
cat ./logs/$file-pn.log | tail -n 17
echo ""
echo "Finish"
LANG=en-us date