From 7ee347e13ced7f1a84e7b325e65616b169e238a0 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Thu, 1 Dec 2016 18:24:41 +0100 Subject: Use the new protobuf arena allocator. Run script now takes a parameter tool to for instance "benchmark" --- benchmark.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 benchmark.sh (limited to 'benchmark.sh') diff --git a/benchmark.sh b/benchmark.sh deleted file mode 100755 index e31ed4b..0000000 --- a/benchmark.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -build_dir=/home/dennis/projects/cmix/build-cmix-Desktop-Default - -tmux new-session -s cmix -d -tmux send-keys -t cmix:0 "cd ${build_dir} && valgrind --tool=cachegrind node/node -f -n node2.local:9201 -c ../certs/cert1.pem -k ../certs/key1.pem -d ../certs/dh.pem --certdir ../certs" Enter -tmux send-keys -t cmix:0 "r" Enter - -tmux new-window -t cmix:1 -tmux send-keys -t cmix:1 "cd ${build_dir} && valgrind --tool=cachegrind node/node -l -p 9201 -n node1.local:9200 -c ../certs/cert2.pem -k ../certs/key2.pem -d ../certs/dh.pem --certdir ../certs/" Enter -tmux send-keys -t cmix:1 "r" Enter - -tmux new-window -t cmix:2 -tmux send-keys -t cmix:2 "cd ${build_dir} && LSAN_OPTIONS=report_objects=1 valgrind --tool=cachegrind client/client --certdir ../certs -n node1.local:9200 node2.local:9201" Enter - -tmux new-window -t cmix:3 -tmux send-keys -t cmix:3 "cd ${build_dir} && LSAN_OPTIONS=report_objects=1 valgrind --tool=cachegrind client/client --certdir ../certs -n node1.local:9200 node2.local:9201" Enter - -tmux attach -tmux kill-session -t cmix -- cgit v1.2.3-70-g09d2