File tree 5 files changed +10
-4
lines changed
5 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -50,17 +50,20 @@ die() {
50
50
exit " $code "
51
51
}
52
52
53
+ RUN_DIRECTORY=$( pwd)
53
54
54
- cd $MDB_SOURCE_PATH /columnstore/columnstore/benchmarks
55
-
55
+ LUA_PATH= $MDB_SOURCE_PATH /columnstore/columnstore/benchmarks/ ? .lua
56
+ export LUA_PATH
56
57
DATA=$( sudo mktemp -p /var)
57
58
eval ./$GEN > " $DATA "
58
59
60
+ cd $MDB_SOURCE_PATH /columnstore/columnstore/
59
61
git checkout $BRANCH1
60
62
sudo $MDB_SOURCE_PATH /columnstore/columnstore/build/bootstrap_mcs.sh -t RelWithDebInfo
61
63
echo " Build done; benchmarking $BRANCH1 now"
62
64
git checkout with_benchmarks
63
65
# Prepare should only create the table, we will fill it with cpimport
66
+ cd $RUN_DIRECTORY
64
67
sysbench $SCRIPT \
65
68
--mysql-socket=/run/mysqld/mysqld.sock \
66
69
--db-driver=mysql \
@@ -75,10 +78,12 @@ BRANCH1_DATA=$(sysbench $SCRIPT \
75
78
--mysql-db=test \
76
79
--time=$TIME run | tail -n +12)
77
80
81
+ cd $MDB_SOURCE_PATH /columnstore/columnstore/
78
82
git checkout $BRANCH2
79
83
sudo $MDB_SOURCE_PATH /columnstore/columnstore/build/bootstrap_mcs.sh -t RelWithDebInfo
80
84
echo " Build done; benchmarking $BRANCH2 now"
81
85
git checkout with_benchmarks
86
+ cd $RUN_DIRECTORY
82
87
sysbench $SCRIPT \
83
88
--mysql-socket=/run/mysqld/mysqld.sock \
84
89
--db-driver=mysql \
@@ -93,4 +98,5 @@ BRANCH2_DATA=$(sysbench $SCRIPT \
93
98
--mysql-db=test \
94
99
--time=$TIME run | tail -n +12)
95
100
101
+ cd $MDB_SOURCE_PATH /columnstore/columnstore/benchmarks
96
102
python3 parse_bench.py " $BRANCH2 " " $BRANCH1 " " $BRANCH2_DATA " " $BRANCH1_DATA " " $TIME "
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- for (( VAR= 1 ; VAR<= 1000 ; VAR++ ))
3
+ for (( VAR= 1 ; VAR<= 1000000000 ; VAR++ ))
4
4
do
5
5
shuf -er -n3 {A..Z} {a..z} | tr -d ' \n'
6
6
echo
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- seq 1 100000000
3
+ seq 1 1000000000
File renamed without changes.
You can’t perform that action at this time.
0 commit comments