Update benchmark.sh
This commit is contained in:
parent
458ebbe715
commit
e116682f9f
@ -1,5 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
functions=(hello isprime)
|
||||
connections=(2 5 10 20 50 100 200 400 500 1000)
|
||||
times=(1m)
|
||||
data=(isprime)
|
||||
kuberhost="node1:32764"
|
||||
maxthreads=160
|
||||
|
||||
|
||||
array_contains () {
|
||||
local array="$1[@]"
|
||||
local seeking=$2
|
||||
@ -13,16 +21,6 @@ array_contains () {
|
||||
return $in
|
||||
}
|
||||
|
||||
functions=(hello isprime)
|
||||
# 5 10 20 50 100 200 400 500 1000
|
||||
connections=(2)
|
||||
times=(1m)
|
||||
data=(isprime)
|
||||
kuberhost="node1:32764"
|
||||
maxthreads=160
|
||||
#$(array_contains data function && "-s$function.wrk")
|
||||
#$(array_contains data function && "-D $function.body")
|
||||
|
||||
WRK_INSTALLED=$(which wrk)
|
||||
if [ "$WRK_INSTALLED" = "" ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user