Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/askmediagroup/dnsbench
/ functions
Functions
45 in github.com/askmediagroup/dnsbench
⨍
Functions
45
◇
Types & classes
10
↓ 9 callers
Function
FileNamer
(file io.Reader)
pkg/namer.go:22
↓ 8 callers
Function
NewRemoteResolver
(opts ...func(*RemoteResolver))
pkg/resolver.go:28
↓ 7 callers
Function
Nameserver
(ns string)
pkg/resolver.go:45
↓ 6 callers
Function
NewRunner
NewRunner returns a new Runner
pkg/runner.go:29
↓ 6 callers
Function
runServer
(laddr string, opts ...func(*dns.Server))
pkg/shared_test.go:31
↓ 5 callers
Method
Begin
Begin returns the time the test was started.
pkg/runner.go:113
↓ 5 callers
Method
Start
Start initiates a benchmark run using the provided Namer, QPS target, and total request count.
pkg/runner.go:55
↓ 5 callers
Method
Stop
Stop shuts down a running test.
pkg/runner.go:102
↓ 3 callers
Function
MaxWorkers
MaxWorkers returns an options function which sets the maximum worker count for a Runner.
pkg/runner.go:50
↓ 3 callers
Method
NumWorkers
NumWorkers returns the number of active workers.
pkg/runner.go:123
↓ 3 callers
Method
Resolve
(name Namer)
pkg/resolver.go:49
↓ 3 callers
Function
Timeout
(timeout time.Duration)
pkg/resolver.go:41
↓ 2 callers
Method
End
End returns the time the test wast stopped.
pkg/runner.go:118
↓ 2 callers
Method
Resolve
(name Namer)
pkg/resolver.go:70
↓ 2 callers
Method
display
(hist *hdrhistogram.Histogram, errors int64, dur float64)
pkg/report.go:80
↓ 2 callers
Method
run
(name Namer, workers *sync.WaitGroup, run <-chan int, res chan<- *Result)
pkg/runner.go:127
↓ 1 callers
Method
Display
Display writes interval statistics to the configured output destination.
pkg/report.go:38
↓ 1 callers
Method
Heading
Heading writes the report heading.
pkg/report.go:76
↓ 1 callers
Method
NewInterval
NewInterval resets the current interval statistics.
pkg/report.go:70
↓ 1 callers
Function
NewLocalResolver
(opts ...func(*LocalResolver))
pkg/resolver.go:66
↓ 1 callers
Function
NewRootCommand
NewRootCommand returns the root command for the dnsbench command.
pkg/cmd/root.go:11
↓ 1 callers
Method
Resolve
(name Namer)
pkg/resolver.go:20
↓ 1 callers
Method
Summary
Summary writes end of run details.
pkg/report.go:43
↓ 1 callers
Method
Update
Update records a new result.
pkg/report.go:59
↓ 1 callers
Function
Workers
Workers returns an options function which sets the initial worker count for a Runner.
pkg/runner.go:45
↓ 1 callers
Function
newRunCommand
()
pkg/cmd/run.go:18
↓ 1 callers
Function
newVersionCommand
()
pkg/cmd/version.go:29
↓ 1 callers
Function
run
(opts runOpts)
pkg/cmd/run.go:50
Function
NewTextReporter
NewTextReporter returns a new TextReporter
pkg/report.go:28
Function
TestLocalResolver
(t *testing.T)
pkg/resolver_test.go:15
Function
TestMaxWorkers
(t *testing.T)
pkg/runner_test.go:56
Function
TestMaxWorkersOpt
(t *testing.T)
pkg/runner_test.go:22
Function
TestNamer
(t *testing.T)
pkg/namer_test.go:11
Function
TestNamerEmptyFile
(t *testing.T)
pkg/namer_test.go:28
Function
TestNameserverOpt
(t *testing.T)
pkg/resolver_test.go:37
Function
TestQPS
(t *testing.T)
pkg/runner_test.go:125
Function
TestRemoteResolver
(t *testing.T)
pkg/resolver_test.go:45
Function
TestRemoteResolverTimeout
(t *testing.T)
pkg/resolver_test.go:71
Function
TestRequestCount
(t *testing.T)
pkg/runner_test.go:29
Function
TestTimeout
(t *testing.T)
pkg/runner_test.go:87
Function
TestTimeoutOpt
(t *testing.T)
pkg/resolver_test.go:29
Function
TestWorkersOpt
(t *testing.T)
pkg/runner_test.go:15
Function
handler
(w dns.ResponseWriter, req *dns.Msg)
pkg/shared_test.go:14
Function
handlerSlow
(w dns.ResponseWriter, req *dns.Msg)
pkg/shared_test.go:22
Function
main
()
cmd/dnsbench/main.go:12