From 8211aab5cb3aac07b8515caf6773ed9e7cb46959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Dziepak?= Date: Tue, 30 May 2017 10:05:33 +0100 Subject: [PATCH] increase histogram precision --- modes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modes.go b/modes.go index 92d7d02..8d142c4 100644 --- a/modes.go +++ b/modes.go @@ -87,7 +87,7 @@ func (mr *MergedResult) AddResult(result Result) { } func NewHistogram() *hdrhistogram.Histogram { - return hdrhistogram.New(time.Microsecond.Nanoseconds()*50, (timeout + timeout*2).Nanoseconds(), 3) + return hdrhistogram.New(time.Microsecond.Nanoseconds()*50, (timeout + timeout*2).Nanoseconds(), 5) } var reportedError uint32