From e8af9f9051a1adae59633e73b9ae2c49a0118f98 Mon Sep 17 00:00:00 2001 From: jaffee Date: Wed, 4 Jan 2017 09:58:32 -0600 Subject: [PATCH] change benchmark configs --- cmd/pilosactl/main.go | 3 +-- cmd/pilosactl/slice-height.json | 4 ++-- cmd/pilosactl/spawn.json | 6 +++++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/cmd/pilosactl/main.go b/cmd/pilosactl/main.go index 8aefee899..11892d0bf 100644 --- a/cmd/pilosactl/main.go +++ b/cmd/pilosactl/main.go @@ -25,8 +25,6 @@ import ( "time" "unsafe" - "golang.org/x/crypto/ssh" - "github.com/pilosa/pilosa" "github.com/pilosa/pilosa/bench" "github.com/pilosa/pilosa/creator" @@ -34,6 +32,7 @@ import ( "github.com/pilosa/pilosa/roaring" "github.com/satori/go.uuid" + "golang.org/x/crypto/ssh" ) var ( diff --git a/cmd/pilosactl/slice-height.json b/cmd/pilosactl/slice-height.json index 51d4fecb8..aa0ffab2e 100644 --- a/cmd/pilosactl/slice-height.json +++ b/cmd/pilosactl/slice-height.json @@ -1,10 +1,10 @@ { - "CreatorArgs": ["-type", "local", "-serverN", "1", "-replicaN", "1"], + "CreatorArgs": ["-hosts=localhost:19444,localhost:19445,localhost:19446", "-log-file-prefix", "asdfe"], "AgentHosts": [], "Benchmarks": [ { "Num": 1, - "Args": ["slice-height", "-max-time", "1", "-max-bits-per-map", "100"] + "Args": ["-human", "slice-height", "-max-time", "1", "-max-bits-per-map", "100"] } ] } diff --git a/cmd/pilosactl/spawn.json b/cmd/pilosactl/spawn.json index d4c15bd08..bc5d8fe9c 100644 --- a/cmd/pilosactl/spawn.json +++ b/cmd/pilosactl/spawn.json @@ -4,7 +4,11 @@ "Benchmarks": [ { "Num": 3, - "Args": ["diagonal-set-bits", "-iterations", "30000", "-client-type", "round_robin"] + "Args": ["-human", "diagonal-set-bits", "-iterations", "30000", "-client-type", "round_robin"] + }, + { + "Num": 2, + "Args": ["-human", "random-set-bits", "-iterations", "20000", "zipf-set-bits"] } ] }