Documentation ¶ Index ¶ type BenchmarkResult func NewBenchmarkResult() *BenchmarkResult type Metadata type Stats Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type BenchmarkResult ¶ type BenchmarkResult struct { Metadata Metadata `json:"metadata"` Stats []Stats `json:"stats"` } func NewBenchmarkResult ¶ func NewBenchmarkResult() *BenchmarkResult type Metadata ¶ type Metadata struct { OS string `json:"os"` Cores int `json:"cores"` Provider string `json:"provider"` Iterations int `json:"iterations"` Parallelism int `json:"parallelism"` ObjectSize string `json:"object-size"` } type Stats ¶ type Stats struct { Benchmark string `json:"benchmark"` Min time.Duration `json:"min"` Avg time.Duration `json:"avg"` P50 time.Duration `json:"p50"` P95 time.Duration `json:"p95"` P99 time.Duration `json:"p99"` Max time.Duration `json:"max"` AvgThroughput string `json:"avg-throughput"` } Source Files ¶ View all Source files benchmark_result.go Click to show internal directories. Click to hide internal directories.