Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { StartedAt time.Time BeforeBenchmarkUsage SystemUsage AfterBenchmarkUsage SystemUsage ErrorMetrics map[float64]*Metric OKMetrics map[float64]*Metric ErrorsByType map[string]int TPS int ActualTPS int }
Response for Benchmark function
type SystemUsage ¶
type SystemUsage struct { CPUUtilization float64 MemoryTotalMB uint64 MemoryUsedMB uint64 MemoryPercent float64 DiskTotalGB uint64 DiskUsedGB uint64 DiskPercent float64 }
SystemUsage tracks cpu/memory/disk usage.
func (*SystemUsage) Populate ¶
func (u *SystemUsage) Populate()
Populate initializes cpu/memory/disk usage.
Click to show internal directories.
Click to hide internal directories.