summary

package
v0.0.0-...-78262f5 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AnalysisData sync.Map
)

Functions

This section is empty.

Types

type Res

type Res struct {
	Size         int
	TimeStamp    int
	TotalUseTime float64
	Code         int
	ConnTime     float64
	DNSTime      float64
	ReqTime      float64
	DelayTime    float64
	ResTime      float64
}

type SummaryData

type SummaryData struct {
	Target_id             string //返回值唯一标识
	LogFilename           string //错误日志文件路径,默认为空
	CompleteRequests      int
	FailedRequests        int
	SuccessRequests       int
	TimeToken             float64
	TotalDataSize         int
	AvgDataSize           int
	RequestsPerSec        float64
	SuccessRequestsPerSec float64

	MinUseTime        float64
	MaxUseTime        float64
	AvgUseTime        float64
	CodeDetail        map[string]int
	WaitingTimeDetail map[string]int

	AvgConn  float64
	MaxConn  float64
	MinConn  float64
	AvgDNS   float64
	MaxDNS   float64
	MinDNS   float64
	AvgReq   float64
	MaxReq   float64
	MinReq   float64
	AvgDelay float64
	MaxDelay float64
	MinDelay float64
	AvgRes   float64
	MaxRes   float64
	MinRes   float64
}

func HandleRes

func HandleRes(control *tools.ControlData, resultChanel <-chan Res) SummaryData

Jump to

Keyboard shortcuts

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