summary

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AnalysisData  sync.Map
	ResChanel     = make(chan ResStruct, 4000)
	RunOverSignal = make(chan int, 1)
)

Functions

func HandleRes

func HandleRes()

func Print

func Print(summaryData SummaryDataStruct)

Types

type ResStruct added in v1.0.2

type ResStruct struct {
	Size         int64
	TimeStamp    int64
	Code         int
	TotalUseTime int64
	ConnTime     int64
	DNSTime      int64
	ReqTime      int64
	DelayTime    int64
	ResTime      int64
}

type SummaryDataStruct added in v1.0.2

type SummaryDataStruct struct {
	CompleteRequests      uint32
	FailedRequests        uint32
	SuccessRequests       uint32
	TimeToken             string
	TotalDataSize         int64
	AvgDataSize           string
	RequestsPerSec        string
	SuccessRequestsPerSec string
	STransferRatePerSec   string

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

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

Jump to

Keyboard shortcuts

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