Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ func main() {
conc := flag.Int("c", 4, "benchmark concurrency")
qs := flag.String("queries", "hello world", "comma separated list of queries to benchmark")
outfile := flag.String("o", "benchmark.csv", "results output file. set to - for stdout")
duration := time.Second * time.Duration(*seconds)
cmdPrefix := flag.String("prefix", "FT", "Command prefix for FT module")

flag.Parse()
flag.Parse()
duration := time.Second * time.Duration(*seconds)

servers := strings.Split(*hosts, ",")
if len(servers) == 0 {
panic("No servers given")
Expand Down