Versions in this module Expand all Collapse all v3 v3.5.0 Nov 4, 2024 Changes in this version + const DefaultConnectTimeout + const DefaultPlotFormat + const DefaultReadTimeout + const DefaultRequestTimeout + const DefaultWriteTimeout v3.4.1 Oct 22, 2024 v3.4.0 Sep 1, 2024 Changes in this version type Benchmark + RequestDelay string v3.3.4 Aug 29, 2024 v3.3.3 Aug 29, 2024 v3.3.2 Aug 9, 2024 v3.3.1 Jun 2, 2024 v3.3.0 May 23, 2024 Changes in this version type Benchmark + SeparateWorkerConnections bool v3.2.0 May 1, 2024 Changes in this version + const DefaultRequestLogPath type Benchmark + RequestLogEnabled bool + RequestLogPath string v3.1.0 Apr 25, 2024 v3.0.0 Apr 22, 2024 Changes in this version + const DefaultEdns0BufferSize + const GetHTTPMethod + const HTTP1Proto + const HTTP2Proto + const HTTP3Proto + const PostHTTPMethod + const QUICTransport + const TCPTransport + const TLSTransport + const UDPTransport + type Benchmark struct + Color bool + Concurrency uint32 + ConnectTimeout time.Duration + Count int64 + Csv string + DNSSEC bool + DOT bool + DohMethod string + DohProtocol string + Duration time.Duration + Edns0 uint16 + EdnsOpt string + HistDisplay bool + HistMax time.Duration + HistMin time.Duration + HistPre int + Insecure bool + JSON bool + PlotDir string + PlotFormat string + Probability float64 + ProgressBar bool + QperConn int64 + Queries []string + Rate int + RateLimitWorker int + Rcodes bool + ReadTimeout time.Duration + Recurse bool + RequestTimeout time.Duration + Server string + Silent bool + TCP bool + Types []string + WriteTimeout time.Duration + Writer io.Writer + func (b *Benchmark) Run(ctx context.Context) ([]*ResultStats, error) + type Counters struct + Error int64 + IDmismatch int64 + IOError int64 + Negative int64 + Success int64 + Total int64 + Truncated int64 + type Datapoint struct + Duration time.Duration + Start time.Time + type ErrorDatapoint struct + Err error + Start time.Time + type ResultStats struct + AuthenticatedDomains map[string]struct{} + Codes map[int]int64 + Counters *Counters + DoHStatusCodes map[int]int64 + Errors []ErrorDatapoint + Hist *hdrhistogram.Histogram + Qtypes map[string]int64 + Timings []Datapoint