Documentation ¶
Index ¶
- Constants
- func ByteCountIEC(b int64) string
- func ByteCountSI(b int64) string
- func FGroup(n int64) string
- func PrintLogo() (int, error)
- func PrintVersion()
- type ChunkProps
- type Config
- type Exec
- type OS
- type OSNet
- type OSOpenConns
- type P0d
- type ProgressBar
- type Quantile
- type Req
- type ReqAtmpt
- type ReqStats
- type Res
- type Sample
- type SpinnerAnim
- type Time
- type TimerPhase
- type Welford
- func (w *Welford) Add(val float64)
- func (w *Welford) Cv() float64
- func (w *Welford) MarshalJSON() ([]byte, error)
- func (w *Welford) Mean() float64
- func (w *Welford) Stddev() float64
- func (w *Welford) StddevPop() float64
- func (w *Welford) Stderr() float64
- func (w *Welford) Var() float64
- func (w *Welford) VarPop() float64
Constants ¶
View Source
const AT = "@"
View Source
const CLOSE = "]"
View Source
const CURRENT = ">"
View Source
const EMPTY = " "
View Source
const FULL = "="
View Source
const N = ""
View Source
const OPEN = "["
View Source
const RAMP = "-"
View Source
const UNLIMITED int = -1
View Source
const Version string = "v0.4.0"
Variables ¶
This section is empty.
Functions ¶
func ByteCountIEC ¶
func ByteCountSI ¶
func PrintVersion ¶
func PrintVersion()
Types ¶
type ChunkProps ¶ added in v0.2.9
type ChunkProps struct {
// contains filtered or unexported fields
}
type OSOpenConns ¶ added in v0.3.1
func NewOSOpenConns ¶ added in v0.3.1
func NewOSOpenConns(pid int) *OSOpenConns
type P0d ¶
type P0d struct { ID string Time Time Config Config OS OS ReqStats *ReqStats Output string Interrupted bool // contains filtered or unexported fields }
func NewP0dFromFile ¶
func NewP0dWithValues ¶
func (*P0d) StartTimeNow ¶ added in v0.3.1
func (p *P0d) StartTimeNow()
type ProgressBar ¶
type ProgressBar struct {
// contains filtered or unexported fields
}
type Quantile ¶ added in v0.3.2
type Quantile struct {
// contains filtered or unexported fields
}
func NewQuantile ¶ added in v0.3.2
func NewQuantile() *Quantile
func NewQuantileWithCompression ¶ added in v0.3.2
func (*Quantile) MarshalJSON ¶ added in v0.3.2
type ReqStats ¶ added in v0.2.6
type ReqStats struct { Start time.Time ElpsdNs time.Duration ReqAtmpts int64 CurReqAtmptsPSec int64 MeanReqAtmptsPSec int64 MaxReqAtmptsPSec int64 CurBytesReadPSec int64 SumBytesRead int64 MeanBytesReadPSec int64 MaxBytesReadPSec int64 CurBytesWrittenPSec int64 SumBytesWritten int64 MeanBytesWrittenPSec int64 MaxBytesWrittenPSec int64 ElpsdAtmptLatencyNsQuantiles *Quantile ElpsdAtmptLatencyNs *Welford SumMatchingResponseCodes int PctMatchingResponseCodes float32 Sample Sample SumErrors int PctErrors float32 ErrorTypes map[string]int }
type Sample ¶ added in v0.3.1
type SpinnerAnim ¶ added in v0.3.1
type SpinnerAnim struct {
// contains filtered or unexported fields
}
func NewSpinnerAnim ¶ added in v0.3.1
func NewSpinnerAnim() *SpinnerAnim
func (*SpinnerAnim) Next ¶ added in v0.3.1
func (b *SpinnerAnim) Next() string
type TimerPhase ¶ added in v0.2.8
type TimerPhase int
const ( Bootstrap TimerPhase = 1 << iota RampUp Main RampDown Draining Drained Done )
type Welford ¶ added in v0.3.5
type Welford struct {
// contains filtered or unexported fields
}
func NewWelford ¶ added in v0.3.5
func NewWelford() *Welford
func (*Welford) MarshalJSON ¶ added in v0.3.5
Click to show internal directories.
Click to hide internal directories.