Extend Metrics with max and 95th, 99th percentiles

Implements a new format for the text reporter with more information
than before.
Also Rename Result.Timing to Result.Latency and related names.
Adapt README.md examples to account new text reporter format and
library changes.
This commit is contained in:
Tomás Senart
2013-10-04 21:46:16 +02:00
parent 4f1f4f3dfa
commit 9a8f89d16b
6 changed files with 81 additions and 60 deletions

View File

@@ -12,7 +12,7 @@ import (
type Result struct {
Code uint16
Timestamp time.Time
Timing time.Duration
Latency time.Duration
BytesOut uint64
BytesIn uint64
Error string