Skip to content

Commit 73c3b0b

Browse files
committed
default clients benchmark
1 parent 60fcc77 commit 73c3b0b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

apps/c/pgbench/run-pgbench.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ set -eu
1313
for BENCHMARK in select-only simple-update tpcb-like; do
1414
for PROTOCOL in simple prepared; do
1515
# for CLIENTS in 1 10; do
16-
CLIENTS=1
16+
CLIENTS=2
1717
echo
1818
echo "$BENCHMARK $PROTOCOL, $CLIENTS clients"
19-
pgbench -n -T $PGBENCH_TESTTIME -b $BENCHMARK --protocol=$PROTOCOL --client=$CLIENTS
19+
CMD="pgbench -n -T $PGBENCH_TESTTIME -b $BENCHMARK --protocol=$PROTOCOL --client=$CLIENTS"
20+
echo "cmd: $CMD"
21+
eval "$CMD"
2022
# done
2123
done
2224
done

0 commit comments

Comments
 (0)