aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-12-19 17:29:17 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2010-12-19 18:56:16 +0100
commit1922341e2aa1c8a9f578c33315c3a3842a437fd2 (patch)
tree92d162fe70dc158a8b6ec82ffb9e2cf2ad2fdb28 /tests
parentbcfab67daf09dda4aa71ea715ab999affdf67987 (diff)
downloadlibssh-1922341e2aa1c8a9f578c33315c3a3842a437fd2.tar.gz
libssh-1922341e2aa1c8a9f578c33315c3a3842a437fd2.tar.xz
libssh-1922341e2aa1c8a9f578c33315c3a3842a437fd2.zip
New benchmarks directory
Diffstat (limited to 'tests')
-rw-r--r--tests/bench1.sh13
-rwxr-xr-xtests/bench2.sh13
2 files changed, 0 insertions, 26 deletions
diff --git a/tests/bench1.sh b/tests/bench1.sh
deleted file mode 100644
index 4458e9a..0000000
--- a/tests/bench1.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-export CIPHER=aes128-cbc
-export DEST=localhost
-
-echo "Upload raw SSH statistics"
-echo "local machine: `uname -a`"
-echo "Cipher : $CIPHER ; Destination : $DEST (`ssh $DEST uname -a`)"
-echo "Local ssh version: `ssh -V 2>&1`"
-echo "Ping latency to $DEST":
-ping -q -c 1 -n $DEST
-echo "Destination $DEST SSHD vesion : `echo | nc $DEST 22 | head -n1`"
-echo "ssh login latency :`(time -f user:%U ssh $DEST 'id > /dev/null') 2>&1`"
-./generate.py | dd bs=4096 count=100000 | time ssh -c $CIPHER $DEST "dd bs=4096 of=/dev/null" 2>&1
-
diff --git a/tests/bench2.sh b/tests/bench2.sh
deleted file mode 100755
index 01d6777..0000000
--- a/tests/bench2.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-export CIPHER=aes128-cbc
-export DEST=localhost
-
-echo "Upload raw SSH statistics"
-echo "local machine: `uname -a`"
-echo "Cipher : $CIPHER ; Destination : $DEST (`ssh $DEST uname -a`)"
-echo "Local ssh version: `samplessh -V 2>&1`"
-echo "Ping latency to $DEST":
-ping -q -c 1 -n $DEST
-echo "Destination $DEST SSHD vesion : `echo | nc $DEST 22 | head -n1`"
-echo "ssh login latency :`(time -f user:%U samplessh $DEST 'id > /dev/null') 2>&1`"
-./generate.py | dd bs=4096 count=100000 | strace samplessh -c $CIPHER $DEST "dd bs=4096 of=/dev/null" 2>&1
-