add performance testing

This commit is contained in:
ducoterra
2020-08-10 22:22:13 -04:00
parent d7aeccb292
commit 38ff3957bd

View File

@@ -271,5 +271,5 @@ export ETCDCTL_KEY=./certs/client-key.pem; # 3.14.3.102-key.pem
export ETCDCTL_ENDPOINTS=https://3.14.3.102:2379,https://3.14.3.107:2379,https://3.14.3.103:2379; export ETCDCTL_ENDPOINTS=https://3.14.3.102:2379,https://3.14.3.107:2379,https://3.14.3.103:2379;
etcdctl put foo bar etcdctl put foo bar
etcdctl get foo etcdctl get foo
while true; do etcdctl get foo && sleep 1; done; while true; do etcdctl put foo $(( ( RANDOM % 1000 ) + 1 )) && etcdctl get foo; done;
``` ```