Skip to content

Commit

Permalink
Fixed hdrhistogram setup due to value is too large to be recorded (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecosta90 authored Sep 29, 2022
1 parent 11b717e commit 4c22de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func WildcardBenchmark(terms []string, field string, idx index.Index, prefixMinL
//
// If outfile is "-" we write the result to stdout
func Benchmark(concurrency int, duration time.Duration, instantMutex *sync.Mutex, engine, title string, outfile string, reportingPeriod time.Duration, tab *tabwriter.Writer, f func() error) {
totalHistogram = hdrhistogram.New(1, 1000000, 3)
totalHistogram = hdrhistogram.New(1, 1000000000, 3)

var out io.WriteCloser
var err error
Expand Down

0 comments on commit 4c22de7

Please sign in to comment.