diff --git a/bench/diagonal.go b/bench/diagonal.go index fb782e97c..2a8ee23cb 100644 --- a/bench/diagonal.go +++ b/bench/diagonal.go @@ -21,7 +21,7 @@ type DiagonalSetBits struct { } func (b *DiagonalSetBits) Init(hosts []string, agentNum int) error { - b.Name = "DiagonalSetBits" + b.Name = "diagonal-set-bits" return b.HasClient.Init(hosts, agentNum) } diff --git a/bench/import.go b/bench/import.go index b3708d1a4..1b564533b 100644 --- a/bench/import.go +++ b/bench/import.go @@ -108,7 +108,7 @@ func (b *Import) Init(hosts []string, agentNum int) error { if len(hosts) == 0 { return fmt.Errorf("Need at least one host") } - b.Name = "Import" + b.Name = "import" b.Host = hosts[0] // generate csv data baseBitmapID, maxBitmapID, baseProfileID, maxProfileID := b.BaseBitmapID, b.MaxBitmapID, b.BaseProfileID, b.MaxProfileID diff --git a/bench/multidb.go b/bench/multidb.go index 36e672219..91693c325 100644 --- a/bench/multidb.go +++ b/bench/multidb.go @@ -19,7 +19,7 @@ type MultiDBSetBits struct { } func (b *MultiDBSetBits) Init(hosts []string, agentNum int) error { - b.Name = "MultiDBSetBits" + b.Name = "multi-db-set-bits" return b.HasClient.Init(hosts, agentNum) } diff --git a/bench/random.go b/bench/random.go index cf0b55832..3a648940e 100644 --- a/bench/random.go +++ b/bench/random.go @@ -25,7 +25,7 @@ type RandomSetBits struct { } func (b *RandomSetBits) Init(hosts []string, agentNum int) error { - b.Name = "RandomSetBits" + b.Name = "random-set-bits" return b.HasClient.Init(hosts, agentNum) } diff --git a/bench/randquery.go b/bench/randquery.go index 5f54e1a1e..82431485c 100644 --- a/bench/randquery.go +++ b/bench/randquery.go @@ -24,7 +24,7 @@ type RandomQuery struct { } func (b *RandomQuery) Init(hosts []string, agentNum int) error { - b.Name = "RandomQuery" + b.Name = "random-query" return b.HasClient.Init(hosts, agentNum) } diff --git a/bench/sliceheight.go b/bench/sliceheight.go index 94d97c419..bb9131859 100644 --- a/bench/sliceheight.go +++ b/bench/sliceheight.go @@ -85,7 +85,7 @@ func (b *SliceHeight) ConsumeFlags(args []string) ([]string, error) { } func (b *SliceHeight) Init(hosts []string, agentNum int) error { - b.Name = "SliceHeight" + b.Name = "slice-height" b.hosts = hosts return nil } diff --git a/bench/zipf.go b/bench/zipf.go index 580214459..84759dc0a 100644 --- a/bench/zipf.go +++ b/bench/zipf.go @@ -121,7 +121,7 @@ func getZipfOffset(N int64, exp, ratio float64) float64 { } func (b *ZipfSetBits) Init(hosts []string, agentNum int) error { - b.Name = "ZipfSetBits" + b.Name = "zipf-set-bits" rnd := rand.New(rand.NewSource(b.Seed + int64(agentNum))) bitmapOffset := getZipfOffset(b.BitmapIDRange, b.BitmapExponent, b.BitmapRatio) b.bitmapRng = rand.NewZipf(rnd, b.BitmapExponent, bitmapOffset, uint64(b.BitmapIDRange-1))