Documentation
¶
Index ¶
- func AuthenticateUser(host string, clientId string, clientSecret string, environment string) (string, string, string)
- func CalculatePercentile(details []float64, p50 bool, p95 bool, p99 bool) runner.DataPointAgg
- func CalculatePercentiles(details map[time.Duration][]float64, p50 bool, p95 bool, p99 bool) []runner.DataPoint
- func Execute()
- func GroupLatencies(details []runner.ResultDetail, window time.Duration) map[time.Duration][]float64
- func RunBenchmarks(bfs []BenchmarkFunction) *runner.Report
- type BenchmarkFunction
- func BenchmarkPing(grpcHost string, authHeaders []runner.Option) []BenchmarkFunction
- func BenchmarkQuery(grpcHost string, globalHeaders []runner.Option, queryInputs []byte, ...) []BenchmarkFunction
- func BenchmarkQueryFromFile(grpcHost string, globalHeaders []runner.Option, records [][]byte, ...) []BenchmarkFunction
- func BenchmarkUploadFeatures(grpcHost string, globalHeaders []runner.Option, uploadFeaturesFile string, ...) []BenchmarkFunction
- type PlannerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthenticateUser ¶ added in v0.1.6
func CalculatePercentile ¶ added in v0.1.6
func CalculatePercentiles ¶ added in v0.1.6
func GroupLatencies ¶ added in v0.1.6
func RunBenchmarks ¶ added in v0.1.6
func RunBenchmarks(bfs []BenchmarkFunction) *runner.Report
Types ¶
type BenchmarkFunction ¶ added in v0.1.6
func BenchmarkPing ¶ added in v0.1.6
func BenchmarkPing(grpcHost string, authHeaders []runner.Option) []BenchmarkFunction
func BenchmarkQuery ¶ added in v0.1.6
func BenchmarkQuery( grpcHost string, globalHeaders []runner.Option, queryInputs []byte, queryOutputs []*commonv1.OutputExpr, onlineQueryContext *commonv1.OnlineQueryContext, rps uint, benchmarkDuration time.Duration, rampDuration time.Duration, scheduleFile string, ) []BenchmarkFunction
func BenchmarkQueryFromFile ¶ added in v0.1.6
func BenchmarkQueryFromFile( grpcHost string, globalHeaders []runner.Option, records [][]byte, outputs []*commonv1.OutputExpr, onlineQueryContext *commonv1.OnlineQueryContext, rps uint, benchmarkDuration time.Duration, rampDuration time.Duration, scheduleFile string, ) []BenchmarkFunction
type PlannerOptions ¶ added in v0.1.6
Click to show internal directories.
Click to hide internal directories.