benchtchannel

package
v0.0.0-...-6cbfa36 Latest Latest
Warning

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

Go to latest
Published: May 18, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BenchmarkTChannelFetch

func BenchmarkTChannelFetch(
	address string,
	n, connectionsPerHost, concurrency int,
	nextRequest bench.RequestGenerator,
	ready chan<- struct{},
	start <-chan struct{},
	done chan<- []error,
)

BenchmarkTChannelFetch benchmarks fetching one by one

func BenchmarkTChannelFetchBatch

func BenchmarkTChannelFetchBatch(
	address string,
	n, connectionsPerHost, concurrency, batchLen int,
	nextRequest bench.RequestGenerator,
	ready chan<- struct{},
	start <-chan struct{},
	done chan<- []error,
)

BenchmarkTChannelFetchBatch benchmarks fetching one by one with a stream

Types

type Close

type Close func()

Close is a method to call to close a resource or procedure

func StartTestTChannelServer

func StartTestTChannelServer(address string, opts *tchannel.ChannelOptions) (Close, error)

StartTestTChannelServer starts a test server

Directories

Path Synopsis
gen-go

Jump to

Keyboard shortcuts

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