abcsv

package module
v0.0.0-...-af6b016 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2022 License: MIT Imports: 7 Imported by: 0

README

abcsv

parses apache bench output

it can output most of the output as CSV

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Columns

func Columns() string

Types

type ConnectionTimeStats

type ConnectionTimeStats struct {
	Min    float64
	Mean   float64
	Std    float64
	Median float64
	Max    float64
}

type ConnectionTimes

type ConnectionTimes struct {
	Connect    *ConnectionTimeStats
	Processing *ConnectionTimeStats
	Waiting    *ConnectionTimeStats
	Total      *ConnectionTimeStats
}

type NTile

type NTile struct {
	Percent      int
	ResponseTime float64
}

type Results

type Results struct {
	Version             float64
	Revision            int
	Server              string
	Hostname            string
	Port                int
	Path                string
	BodySize            int // bytes
	Concurrency         int
	TestTime            float64 // s
	CompletedRequests   int
	FailedRequests      int
	TotalSize           int              // bytes
	BodySizeTotal       int              // bytes
	Throughput          float64          // req/s
	AverageResponseTime float64          // ms
	TransferRate        float64          // kb/s
	ConnectionTimes     *ConnectionTimes // ms
	NTiles              map[int]float64  // ms
}

func ParseAB

func ParseAB(r io.Reader) *Results

func (*Results) Csv

func (r *Results) Csv(name string) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL