SYMBOL INDEX (258 symbols across 32 files) FILE: args_parser.go type argsParser (line 14) | type argsParser interface type kingpinParser (line 18) | type kingpinParser struct method parse (line 187) | func (k *kingpinParser) parse(args []string) (config, error) { function newKingpinParser (line 46) | func newKingpinParser() argsParser { function parsePrintSpec (line 238) | func parsePrintSpec(spec string) (bool, bool, bool, error) { FILE: args_parser_test.go constant programName (line 12) | programName = "bombardier" function TestInvalidArgsParsing (line 15) | func TestInvalidArgsParsing(t *testing.T) { function TestUnspecifiedArgParsing (line 38) | func TestUnspecifiedArgParsing(t *testing.T) { function TestArgsParsing (line 47) | func TestArgsParsing(t *testing.T) { function TestParsePrintSpec (line 732) | func TestParsePrintSpec(t *testing.T) { function TestArgsParsingWithEmptyPrintSpec (line 796) | func TestArgsParsingWithEmptyPrintSpec(t *testing.T) { function TestArgsParsingWithInvalidPrintSpec (line 808) | func TestArgsParsingWithInvalidPrintSpec(t *testing.T) { function TestEmbeddedURLParsing (line 826) | func TestEmbeddedURLParsing(t *testing.T) { FILE: bombardier.go type bombardier (line 23) | type bombardier struct method prepareTemplate (line 178) | func (b *bombardier) prepareTemplate() (*template.Template, error) { method writeStatistics (line 226) | func (b *bombardier) writeStatistics( method performSingleRequest (line 251) | func (b *bombardier) performSingleRequest() { method worker (line 259) | func (b *bombardier) worker() { method barUpdater (line 270) | func (b *bombardier) barUpdater() { method rateMeter (line 292) | func (b *bombardier) rateMeter() { method recordRps (line 315) | func (b *bombardier) recordRps() { method bombard (line 327) | func (b *bombardier) bombard() { method printIntro (line 348) | func (b *bombardier) printIntro() { method gatherInfo (line 359) | func (b *bombardier) gatherInfo() internal.TestInfo { method printStats (line 425) | func (b *bombardier) printStats() { method redirectOutputTo (line 433) | func (b *bombardier) redirectOutputTo(out io.Writer) { method disableOutput (line 438) | func (b *bombardier) disableOutput() { function newBombardier (line 62) | func newBombardier(c config) (*bombardier, error) { function makeHTTPClient (line 162) | func makeHTTPClient(clientType clientTyp, cc *clientOpts) client { function main (line 443) | func main() { FILE: bombardier_performance_test.go function BenchmarkBombardierSingleReqPerf (line 21) | func BenchmarkBombardierSingleReqPerf(b *testing.B) { function BenchmarkBombardierRateLimitPerf (line 38) | func BenchmarkBombardierRateLimitPerf(b *testing.B) { function benchmarkFireRequest (line 56) | func benchmarkFireRequest(c config, bm *testing.B) { FILE: bombardier_test.go function TestBombardierShouldFireSpecifiedNumberOfRequests (line 20) | func TestBombardierShouldFireSpecifiedNumberOfRequests(t *testing.T) { function testBombardierShouldFireSpecifiedNumberOfRequests (line 24) | func testBombardierShouldFireSpecifiedNumberOfRequests( function TestBombardierShouldFinish (line 57) | func TestBombardierShouldFinish(t *testing.T) { function testBombardierShouldFinish (line 61) | func testBombardierShouldFinish(clientType clientTyp, t *testing.T) { function TestBombardierShouldSendHeaders (line 102) | func TestBombardierShouldSendHeaders(t *testing.T) { function testBombardierShouldSendHeaders (line 106) | func testBombardierShouldSendHeaders(clientType clientTyp, t *testing.T) { function TestBombardierHTTPCodeRecording (line 152) | func TestBombardierHTTPCodeRecording(t *testing.T) { function testBombardierHTTPCodeRecording (line 156) | func testBombardierHTTPCodeRecording(clientType clientTyp, t *testing.T) { function TestBombardierTimeoutRecoding (line 215) | func TestBombardierTimeoutRecoding(t *testing.T) { function testBombardierTimeoutRecoding (line 219) | func testBombardierTimeoutRecoding(clientType clientTyp, t *testing.T) { function TestBombardierThroughputRecording (line 250) | func TestBombardierThroughputRecording(t *testing.T) { function testBombardierThroughputRecording (line 254) | func testBombardierThroughputRecording(clientType clientTyp, t *testing.... function TestBombardierStatsPrinting (line 288) | func TestBombardierStatsPrinting(t *testing.T) { function TestBombardierErrorIfFailToReadClientCert (line 334) | func TestBombardierErrorIfFailToReadClientCert(t *testing.T) { function TestBombardierClientCerts (line 354) | func TestBombardierClientCerts(t *testing.T) { function testBombardierClientCerts (line 358) | func testBombardierClientCerts(clientType clientTyp, t *testing.T) { function TestBombardierRateLimiting (line 431) | func TestBombardierRateLimiting(t *testing.T) { function testBombardierRateLimiting (line 435) | func testBombardierRateLimiting(clientType clientTyp, t *testing.T) { function testAllClients (line 473) | func testAllClients(parent *testing.T, testFun func(clientTyp, *testing.... function TestBombardierSendsBody (line 482) | func TestBombardierSendsBody(t *testing.T) { function testBombardierSendsBody (line 486) | func testBombardierSendsBody(clientType clientTyp, t *testing.T) { function TestBombardierSendsBodyFromFile (line 526) | func TestBombardierSendsBodyFromFile(t *testing.T) { function testBombardierSendsBodyFromFile (line 530) | func testBombardierSendsBodyFromFile(clientType clientTyp, t *testing.T) { function TestBombardierFileDoesntExist (line 575) | func TestBombardierFileDoesntExist(t *testing.T) { function TestBombardierStreamsBody (line 592) | func TestBombardierStreamsBody(t *testing.T) { function testBombardierStreamsBody (line 596) | func testBombardierStreamsBody(clientType clientTyp, t *testing.T) { function TestBombardierStreamsBodyFromFile (line 640) | func TestBombardierStreamsBodyFromFile(t *testing.T) { function testBombardierStreamsBodyFromFile (line 644) | func testBombardierStreamsBodyFromFile(clientType clientTyp, t *testing.... function TestBombardierShouldSendCustomHostHeader (line 693) | func TestBombardierShouldSendCustomHostHeader(t *testing.T) { function testBombardierShouldSendCustomHostHeader (line 697) | func testBombardierShouldSendCustomHostHeader( FILE: client_cert.go function readClientCert (line 9) | func readClientCert(certPath, keyPath string) ([]tls.Certificate, error) { function generateTLSConfig (line 17) | func generateTLSConfig(c config) (*tls.Config, error) { FILE: client_cert_test.go function TestGenerateTLSConfig (line 7) | func TestGenerateTLSConfig(t *testing.T) { FILE: clients.go type client (line 15) | type client interface type bodyStreamProducer (line 19) | type bodyStreamProducer type clientOpts (line 21) | type clientOpts struct type fasthttpClient (line 39) | type fasthttpClient struct method do (line 78) | func (c *fasthttpClient) do() ( function newFastHTTPClient (line 50) | func newFastHTTPClient(opts *clientOpts) client { type httpClient (line 117) | type httpClient struct method do (line 154) | func (c *httpClient) do() ( function newHTTPClient (line 128) | func newHTTPClient(opts *clientOpts) client { function headersToFastHTTPHeaders (line 200) | func headersToFastHTTPHeaders(h *headersList) *fasthttp.RequestHeader { function headersToHTTPHeaders (line 211) | func headersToHTTPHeaders(h *headersList) http.Header { FILE: clients_test.go function TestShouldReturnNilIfNoHeadersWhereSet (line 14) | func TestShouldReturnNilIfNoHeadersWhereSet(t *testing.T) { function TestShouldReturnEmptyHeadersIfNoHeaadersWhereSet (line 21) | func TestShouldReturnEmptyHeadersIfNoHeaadersWhereSet(t *testing.T) { function TestShouldProperlyConvertToHttpHeaders (line 28) | func TestShouldProperlyConvertToHttpHeaders(t *testing.T) { function TestHTTP2Client (line 60) | func TestHTTP2Client(t *testing.T) { function TestHTTP1Clients (line 117) | func TestHTTP1Clients(t *testing.T) { FILE: cmd/utils/simplebenchserver/main.go function main (line 24) | func main() { FILE: common.go constant decBase (line 13) | decBase = 10 constant rateLimitInterval (line 15) | rateLimitInterval = 10 * time.Millisecond constant oneSecond (line 16) | oneSecond = 1 * time.Second constant exitFailure (line 18) | exitFailure = 1 function ParseURLOrPanic (line 61) | func ParseURLOrPanic(s string) *url.URL { function init (line 69) | func init() { FILE: completion_barriers.go type completionBarrier (line 9) | type completionBarrier interface type countingCompletionBarrier (line 17) | type countingCompletionBarrier struct method tryGrabWork (line 30) | func (c *countingCompletionBarrier) tryGrabWork() bool { method jobDone (line 40) | func (c *countingCompletionBarrier) jobDone() { method done (line 49) | func (c *countingCompletionBarrier) done() <-chan struct{} { method cancel (line 53) | func (c *countingCompletionBarrier) cancel() { method completed (line 59) | func (c *countingCompletionBarrier) completed() float64 { function newCountingCompletionBarrier (line 23) | func newCountingCompletionBarrier(numReqs uint64) completionBarrier { type timedCompletionBarrier (line 69) | type timedCompletionBarrier struct method tryGrabWork (line 94) | func (c *timedCompletionBarrier) tryGrabWork() bool { method jobDone (line 103) | func (c *timedCompletionBarrier) jobDone() { method done (line 106) | func (c *timedCompletionBarrier) done() <-chan struct{} { method cancel (line 110) | func (c *timedCompletionBarrier) cancel() { method completed (line 116) | func (c *timedCompletionBarrier) completed() float64 { function newTimedCompletionBarrier (line 76) | func newTimedCompletionBarrier(duration time.Duration) completionBarrier { FILE: completion_barriers_test.go function TestCouintingCompletionBarrierWait (line 9) | func TestCouintingCompletionBarrierWait(t *testing.T) { function TestTimedCompletionBarrierWait (line 32) | func TestTimedCompletionBarrierWait(t *testing.T) { function TestTimeBarrierCancel (line 63) | func TestTimeBarrierCancel(t *testing.T) { function TestCountedBarrierCancel (line 80) | func TestCountedBarrierCancel(t *testing.T) { function TestTimeBarrierPanicOnBadDuration (line 105) | func TestTimeBarrierPanicOnBadDuration(t *testing.T) { function approximatelyEqual (line 118) | func approximatelyEqual(expected, actual, err time.Duration) bool { FILE: config.go type config (line 10) | type config struct method checkArgs (line 50) | func (c *config) checkArgs() error { method checkOrSetDefaultTestType (line 71) | func (c *config) checkOrSetDefaultTestType() { method testType (line 77) | func (c *config) testType() testTyp { method checkURL (line 87) | func (c *config) checkURL() error { method checkRate (line 94) | func (c *config) checkRate() error { method checkRunParameters (line 101) | func (c *config) checkRunParameters() error { method checkTimeoutDuration (line 114) | func (c *config) checkTimeoutDuration() error { method checkHTTPParameters (line 121) | func (c *config) checkHTTPParameters() error { method checkCertPaths (line 134) | func (c *config) checkCertPaths() error { method timeoutMillis (line 143) | func (c *config) timeoutMillis() uint64 { type testTyp (line 34) | type testTyp constant none (line 37) | none testTyp = iota constant timed (line 38) | timed constant counted (line 39) | counted type invalidHTTPMethodError (line 42) | type invalidHTTPMethodError struct method Error (line 46) | func (i *invalidHTTPMethodError) Error() string { function allowedHTTPMethod (line 147) | func allowedHTTPMethod(method string) bool { function canHaveBody (line 152) | func canHaveBody(method string) bool { type clientTyp (line 157) | type clientTyp method String (line 165) | func (ct clientTyp) String() string { constant fhttp (line 160) | fhttp clientTyp = iota constant nhttp1 (line 161) | nhttp1 constant nhttp2 (line 162) | nhttp2 FILE: config_test.go function TestCanHaveBody (line 12) | func TestCanHaveBody(t *testing.T) { function TestAllowedHttpMethod (line 31) | func TestAllowedHttpMethod(t *testing.T) { function TestCheckArgs (line 52) | func TestCheckArgs(t *testing.T) { function TestCheckArgsUnsupportedURLScheme (line 262) | func TestCheckArgsUnsupportedURLScheme(t *testing.T) { function TestCheckArgsInvalidRequestMethod (line 278) | func TestCheckArgsInvalidRequestMethod(t *testing.T) { function TestCheckArgsTestType (line 298) | func TestCheckArgsTestType(t *testing.T) { function TestTimeoutMillis (line 358) | func TestTimeoutMillis(t *testing.T) { function TestInvalidHTTPMethodError (line 374) | func TestInvalidHTTPMethodError(t *testing.T) { function TestClientTypToStringConversion (line 383) | func TestClientTypToStringConversion(t *testing.T) { function clientTypeFromString (line 401) | func clientTypeFromString(s string) clientTyp { FILE: dialer.go type countingConn (line 10) | type countingConn struct method Read (line 15) | func (cc *countingConn) Read(b []byte) (n int, err error) { method Write (line 25) | func (cc *countingConn) Write(b []byte) (n int, err error) { FILE: error_map.go type errorMap (line 10) | type errorMap struct method add (line 21) | func (e *errorMap) add(err error) { method get (line 38) | func (e *errorMap) get(err error) uint64 { method sum (line 49) | func (e *errorMap) sum() uint64 { method byFrequency (line 83) | func (e *errorMap) byFrequency() errorsByFrequency { function newErrorMap (line 15) | func newErrorMap() *errorMap { type errorWithCount (line 59) | type errorWithCount struct method String (line 64) | func (ewc *errorWithCount) String() string { type errorsByFrequency (line 69) | type errorsByFrequency method Len (line 71) | func (ebf errorsByFrequency) Len() int { method Less (line 75) | func (ebf errorsByFrequency) Less(i, j int) bool { method Swap (line 79) | func (ebf errorsByFrequency) Swap(i, j int) { FILE: error_map_test.go function TestErrorMapAdd (line 9) | func TestErrorMapAdd(t *testing.T) { function TestErrorMapGet (line 18) | func TestErrorMapGet(t *testing.T) { function TestByFrequency (line 26) | func TestByFrequency(t *testing.T) { function TestErrorWithCountToStringConversion (line 49) | func TestErrorWithCountToStringConversion(t *testing.T) { function BenchmarkErrorMapAdd (line 59) | func BenchmarkErrorMapAdd(b *testing.B) { function BenchmarkErrorMapGet (line 70) | func BenchmarkErrorMapGet(b *testing.B) { FILE: flags.go constant nilStr (line 9) | nilStr = "nil" type nullableUint64 (line 12) | type nullableUint64 struct method String (line 16) | func (n *nullableUint64) String() string { method Set (line 23) | func (n *nullableUint64) Set(value string) error { type nullableDuration (line 33) | type nullableDuration struct method String (line 37) | func (n *nullableDuration) String() string { method Set (line 44) | func (n *nullableDuration) Set(value string) error { type nullableString (line 53) | type nullableString struct method String (line 57) | func (n *nullableString) String() string { method Set (line 64) | func (n *nullableString) Set(value string) error { FILE: flags_test.go function TestNullableUint64ConversionToString (line 11) | func TestNullableUint64ConversionToString(t *testing.T) { function TestNullableUint64Parsing (line 23) | func TestNullableUint64Parsing(t *testing.T) { function TestNullableDurationConversionToString (line 43) | func TestNullableDurationConversionToString(t *testing.T) { function TestNullableDurationParsing (line 55) | func TestNullableDurationParsing(t *testing.T) { function TestNullableStringConversionToString (line 68) | func TestNullableStringConversionToString(t *testing.T) { FILE: format.go type units (line 7) | type units struct function formatUnits (line 31) | func formatUnits(n float64, m *units, prec int) string { function formatBinary (line 44) | func formatBinary(n float64) string { function formatTimeUs (line 48) | func formatTimeUs(n float64) string { FILE: format_test.go constant KB (line 8) | KB = 1024 constant MB (line 9) | MB = KB * 1024 constant GB (line 10) | GB = MB * 1024 constant K (line 12) | K = 1000 constant M (line 13) | M = K * 1000 function TestShouldFormatBinary (line 16) | func TestShouldFormatBinary(t *testing.T) { function TestShouldFormatUs (line 45) | func TestShouldFormatUs(t *testing.T) { FILE: headers.go type header (line 8) | type header struct type headersList (line 12) | type headersList method String (line 14) | func (h *headersList) String() string { method IsCumulative (line 18) | func (h *headersList) IsCumulative() bool { method Set (line 22) | func (h *headersList) Set(value string) error { FILE: headers_test.go function TestHeadersToStringConversion (line 7) | func TestHeadersToStringConversion(t *testing.T) { function TestShouldErrorOnInvalidFormat (line 32) | func TestShouldErrorOnInvalidFormat(t *testing.T) { function TestShouldProperlyAddValidHeaders (line 39) | func TestShouldProperlyAddValidHeaders(t *testing.T) { function TestShouldTrimHeaderValues (line 54) | func TestShouldTrimHeaderValues(t *testing.T) { FILE: internal/test_info.go type TestInfo (line 12) | type TestInfo struct type Header (line 18) | type Header struct type Spec (line 23) | type Spec struct method RequestURL (line 49) | func (s Spec) RequestURL() string { method IsTimedTest (line 54) | func (s Spec) IsTimedTest() bool { method IsTestWithNumberOfReqs (line 60) | func (s Spec) IsTestWithNumberOfReqs() bool { method IsFastHTTP (line 66) | func (s Spec) IsFastHTTP() bool { method IsNetHTTPV1 (line 72) | func (s Spec) IsNetHTTPV1() bool { method IsNetHTTPV2 (line 78) | func (s Spec) IsNetHTTPV2() bool { type Results (line 83) | type Results struct method Throughput (line 112) | func (r Results) Throughput() float64 { method LatenciesStats (line 129) | func (r Results) LatenciesStats(percentiles []float64) *LatenciesStats { method RequestsStats (line 207) | func (r Results) RequestsStats(percentiles []float64) *RequestsStats { type ReadonlyUint64Histogram (line 97) | type ReadonlyUint64Histogram interface type ReadonlyFloat64Histogram (line 104) | type ReadonlyFloat64Histogram interface type LatenciesStats (line 117) | type LatenciesStats struct type RequestsStats (line 195) | type RequestsStats struct type ErrorWithCount (line 287) | type ErrorWithCount struct type TestType (line 293) | type TestType constant _ (line 296) | _ TestType = iota constant ByTime (line 298) | ByTime constant ByNumberOfReqs (line 301) | ByNumberOfReqs type ClientType (line 305) | type ClientType constant FastHTTP (line 309) | FastHTTP ClientType = iota constant NetHTTP1 (line 311) | NetHTTP1 constant NetHTTP2 (line 313) | NetHTTP2 FILE: limiter.go type token (line 11) | type token constant brk (line 14) | brk token = iota constant cont (line 15) | cont type limiter (line 18) | type limiter interface type nooplimiter (line 22) | type nooplimiter struct method pace (line 24) | func (n *nooplimiter) pace(<-chan struct{}) token { type bucketlimiter (line 28) | type bucketlimiter struct method pace (line 47) | func (b *bucketlimiter) pace(done <-chan struct{}) (res token) { function newBucketLimiter (line 33) | func newBucketLimiter(rate uint64) limiter { FILE: limiter_barrier_test.go function TestNoopLimiterCounterBarrierCombination (line 9) | func TestNoopLimiterCounterBarrierCombination(t *testing.T) { function TestBucketLimiterCounterBarrierCombination (line 38) | func TestBucketLimiterCounterBarrierCombination(t *testing.T) { FILE: limiter_test.go constant maxRps (line 11) | maxRps = 10000000 function TestNoopLimiter (line 13) | func TestNoopLimiter(t *testing.T) { function BenchmarkNoopLimiter (line 44) | func BenchmarkNoopLimiter(bm *testing.B) { function TestBucketLimiterLowRates (line 56) | func TestBucketLimiterLowRates(t *testing.T) { function TestBucketLimiterHighRates (line 106) | func TestBucketLimiterHighRates(t *testing.T) { function BenchmarkBucketLimiter (line 151) | func BenchmarkBucketLimiter(bm *testing.B) { FILE: proxy_reader.go type proxyReader (line 5) | type proxyReader struct FILE: rateestimator.go constant panicZeroRate (line 9) | panicZeroRate = "rate can't be zero" constant panicNegativeAdjustTo (line 10) | panicNegativeAdjustTo = "adjustTo can't be negative or zero" function estimate (line 13) | func estimate(rate uint64, adjustTo time.Duration) (time.Duration, uint6... FILE: rateestimator_test.go function TestRateEstimatorPanicWithZeroRate (line 8) | func TestRateEstimatorPanicWithZeroRate(t *testing.T) { function TestRateEstimatorPanicWithNegativeAdjustTo (line 23) | func TestRateEstimatorPanicWithNegativeAdjustTo(t *testing.T) { function TestRateEstimatorAccuracy (line 38) | func TestRateEstimatorAccuracy(t *testing.T) { FILE: templates.go type format (line 12) | type format interface type knownFormat (line 13) | type knownFormat method template (line 15) | func (kf knownFormat) template() []byte { type filePath (line 19) | type filePath type userDefinedTemplate (line 20) | type userDefinedTemplate function formatFromString (line 22) | func formatFromString(formatSpec string) format { constant plainTextTemplate (line 38) | plainTextTemplate = ` constant jsonTemplate (line 68) | jsonTemplate = `{"spec":{