Skip to content

Commit 4c22de7

Browse files
Fixed hdrhistogram setup due to value is too large to be recorded (#19)
1 parent 11b717e commit 4c22de7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

benchmark.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func WildcardBenchmark(terms []string, field string, idx index.Index, prefixMinL
140140
//
141141
// If outfile is "-" we write the result to stdout
142142
func Benchmark(concurrency int, duration time.Duration, instantMutex *sync.Mutex, engine, title string, outfile string, reportingPeriod time.Duration, tab *tabwriter.Writer, f func() error) {
143-
totalHistogram = hdrhistogram.New(1, 1000000, 3)
143+
totalHistogram = hdrhistogram.New(1, 1000000000, 3)
144144

145145
var out io.WriteCloser
146146
var err error

0 commit comments

Comments
 (0)