package
0.0.0-20200226065818-fe632b36a108
Repository: https://github.com/alipay/sofa-mesh.git
Documentation: pkg.go.dev
# Functions
BuildBasicCheck builds a BasicReport Request by creating a Check API request.
BuildBasicReport builds a BasicReport Request by creating a Report API request.
NewClientServer creates a new ClientServer and returns it.
Run executes the benchmark using specified setup and settings.
# Constants
CoProcess run mode indicates that the client should be run in a separate process.
InProcess run mode indicates that an in-process client should be used to drive the test.
InProcessBypassGrpc run mode indicates that the test should be run against the runtime.Dispatcher interface directly.
# Variables
MinimalConfig is a very basic configuration, mainly useful for testing the perf infrastructure itself,.
MinimalSetup is a very basic setup, mainly useful for testing the perf infrastructure itself.
# Structs
BasicCheck is an implementation of Request that is specified declaratively by the author.
BasicReport is an implementation of Request that is used to explicitly specify a Report request.
ClientServer is an RPC server that the Controller connects to remotely control a Mixer perf test client.
ClientServerInitParams is a collection of parameters that are passed as part of the InitializeClient call.
Config is the Mixer server configuration to use during perf tests.
Controller is the top-level perf benchmark controller.
Load is the load to apply on the Mixer during the perf test.
ServiceLocation is a struct that combines the address and the path of an rpc server.
Settings is the perf test settings.
Setup is the self-contained, top-level definition of a perf test.
# Interfaces
Request interface is the common interface for all different types of requests.
# Type aliases
RunMode configures the run mode for the perf.